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

Method resolveNode() in BaseContentTag doesn't care about paragraphs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 3.0.4
    • 3.0.3
    • taglibs
    • None

    Description

      From version 3.0.3 on, there's a change in the method resolveNode(Content currentPage) in the class BaseContenTag.
      In line 153, instead of the currentParagraph, the currentPage now is returned:
      ...
      // e.g. <cms:out nodeDataName="title"/>
      return currentPage;
      ...

      Is it okay, that paragraphs aren't considered any more at all in this method ?

      I had big problems, because I used the following Tag to store the paragraph node in a variable:
      <cms:setNode var="currentNode" />

      currently, if the value of this node is read later, the result is null !!

      I now use the attribute contentNodeName of this setNode-Tag as a workaround by naming the paragraph directly, but this is a very bad solution in my opinion..

      could you perhaps have a look at it ?

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              killbill Jürgen Hirt
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD