[
https://issues.apache.org/jira/browse/SLING-7304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu resolved SLING-7304.
---------------------------------
Resolution: Fixed
Fixed in
[d8bf952|https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler/commit/d8bf9529bdc6f7991883beb903f175a0db16ea6c].
> Add support for primitive arrays in ObjectModel#toString and
> ObjectModel#toCollection
> -------------------------------------------------------------------------------------
>
> Key: SLING-7304
> URL: https://issues.apache.org/jira/browse/SLING-7304
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Fix For: Scripting HTL Compiler 1.0.16
>
>
> {{org.apache.sling.scripting.sightly.compiler.util.ObjectModel#toCollection}}
> and {{org.apache.sling.scripting.sightly.compiler.util.ObjectModel#toString}}
> should be extended to be able to convert primitive arrays, the same way they
> support {{Object}} arrays, especially since primitive arrays can be used in
> {{org.apache.sling.scripting.sightly.compiler.util.ObjectModel#toBoolean}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)