Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added MGNLUI-4427

...

Include Page
_Transformer classes
_Transformer classes

Hide block

Field decoration and definition deprecation

As of Magnolia 5.6.7 the decorated field definitions are prioritized during by the field registry to make sure that fields are not broken by omitting the existing decorations of deprecated field definitions.

If two field definitions have the same definition class and one of them is deprecated and decorated, then the field registration process follows this logic:

  • If a decorated definition is found, it is registered.
  • If no decorated definiton is found, then we search for deprecated and non-deprecated definitons.
    • If a non-deprecated definition is found, it is registered.
    • If no non-deprecated definition is found, then the deprecated definition is registered.