Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-2165

Decored FieldDefinition can no more use class name to perform comparison

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.1
    • 5.0
    • None
    • None

    Description

      In FromBuilder, the following statement will always be false even if the fieldDefinition is a ConfiguredFieldDefinition.

      if (fieldDefinition.getClass().equals(ConfiguredFieldDefinition.class)) {

      This is due to the fact that i18n decorate now the fieldDefinition.

      Only way to solve this is to undecorate the definition before performing the if statement.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ehechinger Eric Hechinger
                ehechinger Eric Hechinger
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD