sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radu Cotescu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SLING-7304) Add support for primitive arrays in ObjectModel#toString and ObjectModel#toCollection
Date Tue, 12 Dec 2017 10:14:00 GMT

     [ 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)

Mime
View raw message