[PAGES-151] Same name sibling created when importing xml file Created: 12/Dec/17  Updated: 12/Dec/17  Resolved: 12/Dec/17

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: 5.6
Fix Version/s: None

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

Attachments: PNG File Screen Shot 2017-12-07 at 06.55.34.png     PNG File Screen Shot 2017-12-07 at 06.55.53.png     PNG File Screen Shot 2017-12-07 at 07.15.37.png     PNG File screenshot1.png     PNG File screenshot2.png     PNG File screenshot3.png    
Issue Links:
duplicate
is duplicated by MAGNOLIA-7005 It's possible to create same name sib... 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:

 Description   

Same name siblings can be imported with dire consequences.

To reproduce:

  1. In Pages app, create a page named hohoho
  2. Export to xml.
  3. Import same xml file.
  4. Close and reopen Pages app.

>>> see screenshot1, screenshot2 and screenshot3

Something similar happens in Contacts app too.

Doc says: https://documentation.magnolia-cms.com/display/DOCS56/Node+types#Nodetypes-Samenamesiblingsarenotallowed



 Comments   
Comment by Bradley Andersen [ 12/Dec/17 ]

I can confirm this behavior on 5.5.7.

Create a page, export it as XML, then re-import it at the same level. See attached screen shots.

Caveat: of course the underlying JCR implementation does not give SNS - they are named thing[1] and thing[2]. But, in the UI they have the same name, so:

  • as an editor, how would i know which one to pick?
  • as a developer, how would i use test/hey versus test/floop in an ftl?
Generated at Mon Feb 12 06:16:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.