Indeed those two don't seem to be related. problem was: There was one content node iterator without "contentNodeCollectionName" set and one with in the same template. Upon rendering, the include-tag of the unnamed collection also iterates over the parent node of the second collection. That parent node has no template definition set of course ... So I set the contentNodeCollectionName for both iterators and it's working.
Thanks, Anton On Fri, Jan 7, 2011 at 5:00 PM, Jan Haderka <[email protected]> wrote: > > I believe the issue you see on the demo is actually > http://jira.magnolia-cms.com/browse/MGNLCDEP-9 > > The one you describe might be something else. You can try to replace version > of content dependencies module with the snapshot from nexus.magnolia-cms.com > and see if the problem goes away. > Otherwise you can post the complete stacktrace at pastebin.com or similar > service and post the link here. Without it, it's hard to guess. > > HTH, > Jan > > On Jan 7, 2011, at 2:50 PM, Anton Matheis wrote: > >> >> Hi Magnolians, >> >> I have an issue with 4.4.1. In the following code, i try to add an >> additional linklist underneath the copyright: >> >> ------------------------8<-------------------------------------------------------- >> <p id="copyright"> </p> >> [/#if] >> [#-- footer link list --] >> <ul> >> [[email protected] contentNodeCollectionName="subLinkList" >> varStatus = "status"] >> �[email protected] /] [#if !status.last] | [/#if] >> [/@cms.contentNodeIterator] >> >> [#if mgnl.editMode] >> <div style="background:none"> >> �[email protected] newLabel="New Sublink" paragraph="internalLink, >> externalLink" contentNodeCollectionName="subLinkList" /] >> </div> >> [/#if] >> >> </ul> >> ------------------------>8-------------------------------------------------------- >> >> which fails: i get an exception >> "info.magnolia.module.templating.RenderException: Can't find >> renderable definition " - it seems that there is no definition for the >> subLinkList content node. >> So far i don't understand why that i a problem in this case and no >> problem in case of a normal link list. Still debugging. >> >> Then i tried to check on demoauthor system and found out that when you >> delete the footer and try to create a new one, you get a >> NullPointerException. Are those effects somehow related? >> >> Greetings, >> Anton >> >> >> ---------------------------------------------------------------- >> 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]> > ---------------------------------------------------------------- > > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
