[
https://issues.apache.org/jira/browse/SLING-556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607864#action_12607864
]
Bryce Ewing commented on SLING-556:
-----------------------------------
As an aside, I was wondering whether an issue like this should be created new,
or whether I should have reopened the last issue?
> 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
> 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 [EMAIL PROTECTED] 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.