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

Show warning / error when a linkField nested in a multiValue field has a reference to a non existing item

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce

      1. Create a multiValue field which has a linkField with a reference to a non existing item
      2. label: ui-module-faq.category.sub
        wide: true
        form:
          properties:
            title:
              label: Title
              $type: textField
              required: true
            faqs:
              label: FAQ
              $type: jcrMultiValueField
              field:
                $type: linkField
                label: Select assets
                chooser:
                  workbenchChooser:
                    appName: assets
        actions:
          close:
            $type: closeAction
          commit:
            $type: commitAction
         
      1. Select a couple of assets and save the dialog
      2. Delete one of the assets which was selected on the previous step
      3. Open the dialog and check it shows the reference to the deleted item
      4. Dialog can't be closed till the reference is deleted, but no warning to the editor is shown

      Expected results

      Some type of warning is shown to editor to let him know that the reference to the deleted item must be removed

      Actual results

      No warning/error is shown. The editor must figure out why the dialog "doesn't work"

      Workaround

      N/A

      Development notes

      N/A

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              ccantalapiedra Carlos Cantalapiedra
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD