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

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

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD