[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23431#action_23431
 ] 

Thomas Duffey commented on MAGNOLIA-2806:
-----------------------------------------

Please review two attached patches.  There are a lot of different conditional 
cases involved that I do not fully understand but this handled one test case I 
am working on doing something like:

<cms:contentNodeIterator contentNodeCollectionName="adBox" inherit="true">
.   ...
</cms:contentNodeIterator>

where I expect the inherit="true" attribute to look for the content in ancestor 
pages.

Unfortunately, this breaks some test cases because apparently the use of 
BaseContentTag.getFirstMatchingNode() requires the [config] repository to be 
setup.  I am trying to add this capability to the tests and will submit another 
patch for them if I can figure it out.

> contentNodeIterator tag doesn't inherit content
> -----------------------------------------------
>
>                 Key: MAGNOLIA-2806
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2806
>             Project: Magnolia
>          Issue Type: Bug
>          Components: taglibs
>    Affects Versions: 4.1
>            Reporter: Thomas Duffey
>            Assignee: Fabrizio Giustina
>         Attachments: BaseContentTag.java.inherit.patch, 
> ContentNodeIterator.java.inherit.patch
>
>
> When you set inherit="true" on the content node iterator tag it does not 
> inherit content from ancestor pages.

-- 
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]>
----------------------------------------------------------------

Reply via email to