Alfresco
  1. Alfresco
  2. ALF-5051

Define ThumbnailDefinition Beans Outside of ThumbnailRegistry Bean

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Unprioritized 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

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          New New Open Open
          738d 10h 20m 1 Ray Gauss 09-Oct-12 02:04 AM
          Open Open Resolved Resolved
          1d 18h 7m 1 Ray Gauss 10-Oct-12 08:11 PM
          Resolved Resolved Closed Closed
          272d 2h 17m 1 Ravi Manthena 09-Jul-13 10:29 PM

            People

            • Assignee:
              Closed Issues
              Reporter:
              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