Create tasks for migration of STK-based modules (MGNLMIGRATION-52)

[MGNLMIGRATION-56] Create TemplatesAndParagraphsToPagesAndComponents task Created: 21/Sep/12  Updated: 06/Dec/12  Resolved: 06/Dec/12

Status: Closed
Project: Migration 4.4 to 4.5 (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2

Type: Sub-task Priority: Neutral
Reporter: Jozef Chocholacek Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-4714 Create a PropertiesFilteringNodeWrapp... Closed
Template:
Date of First Response:

 Description   

The goal of this task is to move the templates and paragraphs into their new locations:

  • Page templates to config:<module name>/templates/pages
  • Component templates (former paragraphs) to config:<module name>/templates/components


 Comments   
Comment by Jan Haderka [ 05/Dec/12 ]
                         Property property = properties.nextProperty();
+                        if(property.getName().startsWith("jcr:") || property.getName().startsWith("mgnl:")) {
+                            continue;
+                        }

Do not filter out system props manually we have property iterator that does it. See for example info.magnolia.jcr.wrapper.JCRPropertiesFilteringNodeWrapper

Comment by Eric Hechinger [ 05/Dec/12 ]

Ok thanks, I was looking for something like this, but wasn't able to found it.

Generated at Mon Feb 12 10:16:45 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.