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

jcrMultivalueField: deleting item shows mgnl:removed when orderHandler is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.2.19, 6.3.0
    • 6.2.17
    • None
    • None

    Description

      Steps to reproduce

      1. Make use of the following field in any dialog:
        field:
          $type: jcrMultiValueField
          orderHandler:
            class: info.magnolia.ui.editor.MultiFormDefinition$OrderHandlerDefinition$Noop
          field:
            $type: pageLinkField
            label: label.empty
            textInputAllowed: true
      1. Open the dialog, add two elements and save.
      2. Edit the saved item by removing the first element and save
      3. Open the dialog again

      Expected results

      The removed item doesn't appear anymore

      Actual results

      There's a mgnl:removed item

      Workaround

      Removing the orderHandler configuration makes the issue disappear

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              asiska Adam Siska
              jayala Jonathan Ayala
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD