[MGNLUI-6109] DuplicateNodeAction creates confusing UI effect Created: 03/Aug/20  Updated: 27/Aug/20  Resolved: 25/Aug/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.2
Fix Version/s: 6.2.3

Type: Bug Priority: Neutral
Reporter: Richard Gange Assignee: Martin Haderka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLDAM-817 Asset names created from duplication ... Closed
is related to MGNLUI-6163 CLONE - Custom name property sync in ... Closed
is related to MGNLUI-6108 DuplicateNodeActionDefinition creates... Closed
supersession
supersedes MGNLUI-6108 DuplicateNodeActionDefinition creates... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: UI framework implementation
Sprint: UI FW 9
Story Points: 1

 Description   

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.


Generated at Mon Feb 12 09:33:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.