Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-5051

Define ThumbnailDefinition Beans Outside of ThumbnailRegistry Bean

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Unprioritized
    • Resolution: Fixed
    • Affects Version/s: 3.4.a Community
    • Fix Version/s: 4.2 Enterprise
    • Component/s: Transformations
    • Security Level: external (External user)
    • Labels:
      None

      Description

      Currently, all the ThumbnailDefinition beans are defined in-line in the thumbnailRegistry bean. This makes it very hard to override in the fine-grained manner.

      Instead, we should switch to doing what the metadata extractors, content transformers etc do. In this model, we have a parent spring bean for them, which has a reference to the registry. When you create the definition, it will through the parent bean register itself. You can then easily add new definitions.

      This is going to be a quick change (couple of hours tops), will make the config cleaner, and will make the lives of people extending Alfresco much easier. However, it will require an entry in the release notes, as people who have currently taken a copy of the thumbnailRegistry bean definition, and overridden it may need to make some slight tweaks (if they have altered the standard definitions etc)

      So, one for 4.0, when we can make a change to the config file and add the release note entry

        Attachments

          Issue Links

            Activity

            Transition Time In Source Status Execution Times
            Ray Gauss made transition -
            New Open
            738d 10h 20m 1
            Ray Gauss made transition -
            Open Resolved
            1d 18h 7m 1
            Ravi Manthena made transition -
            Resolved Closed
            272d 2h 17m 1

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                nburch Nick Burch
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified