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

DOC: Multi value field behavior changed

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Neutral
    • None
    • 6.2.7
    • None

    Description

      Hello!
      We had previously used the following structure

      label: Composite Field
      $type: compositeField
        itemProvider:
          $type: jcrChildNodeProvider
      properties:
        tags:
          label: 'Page Tags'
          $type: jcrMultiValueField
          itemProvider:
            $type: jcrChildNodeProvider
          field:
            label: ''
            $type: textField
      

      After the latest changes ( presumably introduced by this commit ) this doesn't work any more and fails with the attached stacktrace.

      We managed to get it working by removing the second instance of jcrChildNodeProvider:

      label: Composite Field
      $type: compositeField
      itemProvider:
        $type: jcrChildNodeProvider
      properties:
        tags:
          label: 'Page Tags'
          $type: jcrMultiValueField
      #    itemProvider:
      #      $type: jcrChildNodeProvider
          field:
            label: ''
            $type: textField
      

      Probably makes sense to clarify this confusion in the doc (or release notes).
      Would be great to list the correct options to combine composite field with multi value field.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              akhamis Ashraf Khamis
              bfaniuk Boris Faniuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD