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

DuplicateNodeAction creates confusing UI effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.3
    • 6.2.2
    • None
    • None

      When using the new duplicate method you cannot tell which node is the duplicated one. Their names appear to be the same.

      class: info.magnolia.ui.contentapp.action.DuplicateNodeAction

      Issue seen in the: dam-app, segmentation-app, personas-app

      Recreate

      • Open one of the problem apps
      • Duplicate a node.
      • Observer the ui shows the same name.

      For example, in the case of personas you can see the jcrName has not been updated:

      'Americas0':
        'class': 'info.magnolia.personalization.Segment'
        'jcr:primaryType': 'mgnl:segment'
        'jcr:uuid': 'f8e99e8c-5cac-4444-8cd7-d9072ca62d69'
        'jcrName': 'Americas'
      

      Expected
      The names stay consistent. I want expected the duplicated name to show Americas0 in the UI otherwise it becomes indistinguishable.

      Workaround
      Edit the duplicated item, provide a new name and save.

      Notes
      The dam might even need special duplicate action. We could provide a new name within a dialog.

        Acceptance criteria

              mhaderka Martin Haderka
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD