As a developer it's clear that I cannot use same name siblings in Magnolia (MAGNOLIA-5433)

[MAGNOLIA-5435] Create and distribute script to update existing installations with new node type definition Created: 31/Oct/13  Updated: 20/Feb/15  Resolved: 14/Nov/13

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 4.5, 5.0
Fix Version/s: 5.2

Type: Sub-task Priority: Major
Reporter: Christopher Zimmermann Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File siblings.groovy     File siblings44.groovy    
Template:
Date of First Response:
Sprint: 5.2-rc2

 Description   

The new node type definition does not allow same-name siblings.

We have to provide migration task that has to be used in version handler.

  • Search and display all siblings node for :
    • a sub path
    • a defined workspace
    • a nodeType
  • Search and rename all siblings node (Same criteria as the simple search and display task)

http://wiki.magnolia-cms.com/pages/viewpage.action?pageId=73666272#Concept-metaDatacontentnodeTypeDefinitionmigrationtask-Identifyandrenamesamenamesiblingnodes



 Comments   
Comment by Jozef Chocholacek [ 07/Nov/13 ]

Scripts from Zdenek, siblings.groovy is for the 4.5+ API, siblings44.groovy for the older one (4.4).

Comment by Eric Hechinger [ 12/Nov/13 ]

commit made in MAGNOLIA-5433.

Comment by Eric Hechinger [ 14/Nov/13 ]

IdentifySameNameSiblingNodesTask#performQuery() commented out code should be removed
RenameSameNameSiblingNodesTaskTest there are three empty tests. Either remove them or ignore them, maybe by adding a reference to jira ticket for their future implementation.

Comment by Eric Hechinger [ 14/Nov/13 ]

Update task documentation:
http://wiki.magnolia-cms.com/pages/viewpage.action?pageId=73666272#Concept-metaDatacontentnodeTypeDefinitionmigrationtask-Identifyandrenamesamenamesiblingnodes

Generated at Mon Feb 12 04:05:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.