Details
-
Improvement
-
Resolution: Fixed
-
Major
-
2.1.1
-
None
-
any
Description
First Issue;
In beans.config.Paragraph the call to update iterates through the top level to find pragraph mappings. It is also supposed to iterate through children folders, creating chidren folders is disabled in the gui. If one creates further ContentNodes as children theses are ignored.
Solution:
either enable the creation of folders in gui or
change the getChildren type to ItemType.NT_CONTENTNODE
Second issue;
the assigned name under above must be unique in the tree, wouldn't it be more appropriate to create a subpath for the name eg.
'modules/templating/Paragraphs/global/text' -> data.name=text
becomes 'global/text'
rather than 'text'
alternatively drop the name attribute and build the name from the subpath.
Checklists
Acceptance criteria