Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6627

Improve the #equals() result reliability for DefinitionDecorator when CachingDefinitionDecorator is involved

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Neutral
    • None
    • 5.4.5
    • None
    • None

    Description

      AbstractRegistry wraps the definition decorators into a caching wrapper. Sometimes, e.g. when we need to de-register a DefinitionProvider, we need to compare some instance of a decorator (not wrapped) to the one from the registry (wrapped one). However, the CachingDefinitionDecorator won't recognise a DefinitionDecorator of any other type as equal. This needs to be somehow improved and made more transparent for the user.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                apchelintcev Aleksandr Pchelintcev
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD