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

Tag EDITBAR creates paragraph node on root level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 4.0.1
    • taglibs
    • None
    • Mg 4.1, Tomcat 6, Windows XP, FireFox

      In an exercise we are doing a "Top Level" paragraph:
      <%-- Draw the Edit Bar with the Edit button to show the Dialog --%>
      <cms:editBar paragraph="exerciseTitle"
      contentNodeName="exerciseTitle"
      editLabel="Edit Exercise Title"
      moveLabel=""
      deleteLabel=""/>

      <%-- Run the script defined in the paragraph
      template property "templatePath" --%>
      <cms:includeTemplate contentNodeName="exerciseTitle" />

      In 3.6.5 and prior versions the tag created a paragraph node "exerciseTitle" (type 'ContentNode') as child of the current Web page (type 'Content').

      But in 4.1 the paragraph node is placed on the root level.

      • Tried with sub pages, paragraph node still ends up on root level
      • Added attribute "contentNodeCollectionName", that paragraph list node is also created on root level

        Acceptance criteria

              fgiust Fabrizio Giustina
              giancarlo Giancarlo Berner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD