Thanks for the reply.

No, it does not seem to be the problem you are referencing. I'm trying to "inherit" a page property outside of any contentNodeIterator. The "resolveNode()" method in the BaseContentTag class uses "Resource.getLocalContentNode()" to check if the tag called is located inside a node collection iterator. However the problem seems to be that Resource.getLocalContentNode() is returning the page node when outside of a contentNodeIterator.

At this time I see two possibilities:
a) Resource.getLocalContentNode() is wrong and should return null if on is not inside a node collection iterator. b) Checking Resource.getLocalContentNode() to determine if one is inside a node collection iterator is wrong.

No clue however if a or b... "Resource" seems to be deprecated in the first place now.

-will

On 20.07.2009, at 17:35, Thomas Duffey wrote:


On Jul 20, 2009, at 10:18 AM, Will Scheidegger wrote:

Now I'm trying to port a Mag 3.6 site to Mag 4.1. Two things I noticed:

a) <cms:out ... inherit="true" /> does not seem to work anymore. Do docs however still list this as valid attribute. Can anyone second this? Bug or am I missing something?

Could be related to this:

http://jira.magnolia-cms.com/browse/MAGNOLIA-2806

I found that the 'inherit="true"' flag no longer worked on the contentNodeIterator tag and submitted a patch for review.

Tom


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


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