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

CompositeFieldDefinition doesnt intialize fieldsName array sometimes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 5.3.9
    • 5.3.8, 5.4
    • forms
    • None

    Description

      If getFieldsName is called before setFields or addFields populates the fields collection, then the fieldsName array will never be populated based on the fields.

      This is because getFieldsName sets the fieldsName collection to an empty collection. - so that initFieldsName will not populate it the next time getFieldsName is called, even if setFields does add some fields.

      This problem occurs with YAML configuration - as it does call getFieldsName before setFields.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mgeljic Mikaël Geljić
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD