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

DuplicateNodeActionDefinition creates inconsistent node names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Neutral Neutral
    • None
    • 6.2.2
    • framework

      When duplicating nodes using the old action it creates an inconsistent state with the name of the node and the property "name".

      class: info.magnolia.ui.framework.action.DuplicateNodeActionDefinition

      Recreate

      1. Open the Tours app
      2. Duplicate a tour, observe the name.
      3. Edit the tour, change nothing, save.
      4. Observe the node changed names.

      This will keep happening if you click "Edit tour" and "Save changes" over and over. The node will switch names back-and-forth.

      Expected
      The name of the node should stay consistent after the duplication. The user should be able to edit the tour's details without having to adjust the name.

      Workaround
      Edit the name of the tour in the detail subapp. This will persist the new name to the property which stores name. The node name will then be consistent with the property.

        Acceptance criteria

              Unassigned Unassigned
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD