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

MultiField's ByIndexedChildNodes child resolution strategy always prepends node name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.2
    • 6.2
    • None
    • None
    • UI Framework 20
    • 5

    Description

      In old UI framework:

      When multivalue is configured with DelegatingMultiValueSubnodeTransformer, subnodes are saved as indexes (0, 1, 2, ...)

      In new UI framework:

      Multivalue field name is always prepend before the index, for example (allVehicles0, allVehicles1, ...)

      The use case for having just indexes as names comes from content-type apps, where DelegatingMultiValueSubnodeTransformer is used to save multivalue fields.

      New UI framework uses resolution strategy to find children of multivalue fields. The strategy ByIndexedChildNodes always prepends the node name.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                sdemocko Šimon Demočko
                jsimak Jaroslav Simak
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 2.25d
                      2.25d