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

DOC: Named MultiField with number as suffix causes the error: Saved data is not loaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an issue
    • Icon: Major Major
    • None
    • 6.2.4, 6.2.5
    • None

      Steps to reproduce

      1. Create multifield with linkfield as field
      2. Add value, save, data is saved
      3. Edit that node again, data is not loaded
              multi2:
                label: multi2
                i18n: true
                $type: jcrMultiField
                description: >
                  A multi field composed by simple fields and a composite one (address).
                  Field layout can be changed by specifying a different layout definition
                itemProvider:
                  $type: currentItemProvider
                field:
                  label: linkField
                  $type: linkField
                  buttonSelectNewLabel: Select new ...
                  buttonSelectOtherLabel: Select another ...
                  datasource:
                    $type: jcrDatasource
                    workspace: contacts
      

      Expected results

      Linkfields are shown and bound with saved data

      Actual results

      Saved data is not loaded, there is no linkfields

      Workaround

      Setting orderHandler for multiField

      orderHandler:
              class: info.magnolia.ui.editor.MultiFormDefinition$OrderHandlerDefinition$Noop
      

        Acceptance criteria

              Unassigned Unassigned
              sang.ngo Sang Ngo Huu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 16m
                    16m