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

Dialog doesn't show up in case of inconsistency of definition and stored data type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.2.1
    • 5.2
    • dialogs
    • None

    Description

      If the definition of a dialog field define the field type, for example, as Boolean, and if the stored value (in the JCR repo) is of type String, the related dialog will not be displayed.
      Current implementation do not guaranty the integrity of the data type.

      Solution:
      If a inconsistency is detected between the field definition and the stored type, give the authority to the definition:

      • JCR stored type is String
      • Definition is Boolean
        --> JCR data will be converted to a Boolean Type and value.

      If the JCR value is not convertible to the definition type, null value is then used.

      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