Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-396

beans.config.Paragraph ignores ContentNode.children

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0 RC1
    • 2.1.1
    • admininterface
    • 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

        Attachments

          Activity

            People

              kraft Boris Kraft
              uwer Uwe Rosebrock
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD