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

<cms:out inherit="true" fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.0.3, 4.1.1
    • 4.0.1
    • templating
    • None
    • Windows Vista Business SP1
      JDK 1.6.0_11
      apache-tomcat-5.5.26
      magnolia-bundled-webapp-4.0.1.war

      After upgrading from Magnolia 3.6.3 to 4.0.1, cms:out-Tags stopped printing values inherited from parent pages. For example: <cms:out nodeDataName="copyright" inherit="true" /> prints something only, if the copyright-field is filled for the page, but no longer if it is filled only for the parent page.

      Some debugging showed a different code path in BaseContentTag.resolveNode() because of different results from Resource.getLocalContentNode().

      This seems to be caused by the changes for MAGNOLIA-2642. If I revert Resource.java to the previous revision (from http://svn.magnolia-cms.com/view/community/magnolia/trunk/magnolia-taglib-cms/src/main/java/info/magnolia/cms/taglibs/Resource.java?revision=21024), the inherited fields work fine for me.

        Acceptance criteria

              had Jan Haderka
              damiel Oliver Knorr
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD