[MGNLUI-6678] Creating a page with an identical name does not create any page nor provides validation Created: 28/Apr/21  Updated: 14/Jun/21  Resolved: 11/Jun/21

Status: Closed
Project: Magnolia UI
Component/s: pages app
Affects Version/s: 6.2.8
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Daniel Schneeberger Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia Demo Author


Issue Links:
supersession
supersedes MGNLUI-6735 NodeNameValidator doesn't work at roo... Closed
is superseded by PAGES-447 Can't add child page with the same na... 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 30

 Description   

Steps to reproduce

On Mangolia Demo Author

  1. create a page named 'pagename' below e.g. 'travel'
  2. try to create another page named 'pagename' below the same node (i.e. 'travel')
  3. observe, that after clicking 'next' in the add page dialog, the page properties dialog is not shown

Expected results

  • Validation error is shown that a page with the same name already exists

Actual results

  • No page is created and no page properties dialog is displayed

Development notes



 Comments   
Comment by Simon Lutz [ 21/May/21 ]

We do not create pages with a suffix in the new framework, we validate the name.

Removed the following:

Expected results

  • When creating a page with an identical name to an already existing one, a page with name plus number suffix is created and its page properties dialog is displayed
Comment by Roman Kovařík [ 11/Jun/21 ]

Closing as duplicate after validation with PAGES-447.

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