<cms:out inherit="true" fails
-----------------------------
Key: MAGNOLIA-2669
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2669
Project: Magnolia
Issue Type: Bug
Components: templating
Affects Versions: 4.0.1
Environment: Windows Vista Business SP1
JDK 1.6.0_11
apache-tomcat-5.5.26
magnolia-bundled-webapp-4.0.1.war
Reporter: Oliver Knorr
Assignee: Philipp Bracher [old account - now Philipp Bärfuss]
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------