You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bryce Ewing (JIRA)" <ji...@apache.org> on 2008/06/25 11:50:45 UTC
[jira] Closed: (SLING-556) Freemarker wrapper not correctly
dereferencing multi value properties
[ https://issues.apache.org/jira/browse/SLING-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryce Ewing closed SLING-556.
-----------------------------
Tested and works correctly.
> Freemarker wrapper not correctly dereferencing multi value properties
> ---------------------------------------------------------------------
>
> Key: SLING-556
> URL: https://issues.apache.org/jira/browse/SLING-556
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: 2.0.0
> Reporter: Bryce Ewing
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Attachments: freemarker.patch
>
>
> When iterating through multi value properties of type Reference the NodeModel was not dereferencing the node reference when the property was being treated as a node list, i.e.:
> <list node.@multireferenceproperty as reference>...</list>
> Correctly lists through all the reference properties as properties, but:
> <list node.multireferenceproperty as reference>...</list>
> Throws an exception. This should iterate over the property reference values, find the node and make the node available as reference within the body of the list markup.
> Patch included to fix this, and tests included to test for both cases above.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.