[
https://issues.apache.org/jira/browse/SLING-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605217#action_12605217
]
Bertrand Delacretaz commented on SLING-534:
-------------------------------------------
Could you provide some automated tests for your patch?
See
https://svn.apache.org/repos/asf/incubator/sling/trunk/scripting/javascript/src/test/java/org/apache/sling/scripting/wrapper/ScriptableNodeTest.java
for examples, the framework provides everything to make it very easy to add
automated tests. Or let us know if something's missing, and we'll fix it.
> Multi-Value Reference properties are not exposed to scripting the same way as
> single-value reference properties
> ---------------------------------------------------------------------------------------------------------------
>
> Key: SLING-534
> URL: https://issues.apache.org/jira/browse/SLING-534
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: 2.0.0
> Reporter: Eric Norman
> Attachments: multival_refprops_lookup.diff
>
>
> If a node contains a multi-valued reference property, it is exposed to
> scripts as an array of UUID strings. For single-value reference properties
> the value is resolved to the referenced node. I'd expect the multi-value
> reference properties to be resolved the same way and exposed to scripting as
> an array of nodes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.