[
https://issues.apache.org/jira/browse/SLING-7304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu updated SLING-7304:
--------------------------------
Description:
{{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}}.
was:
{{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}}
> 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)