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

MultiField's ByIndexedChildNodes child resolution strategy always prepends node name

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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