You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/07/28 09:38:00 UTC

[jira] [Assigned] (SLING-10679) ObjectModel.toCollection() should fall back to single item list for every object type

     [ https://issues.apache.org/jira/browse/SLING-10679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus reassigned SLING-10679:
---------------------------------------

    Assignee: Konrad Windszus

> ObjectModel.toCollection() should fall back to single item list for every object type
> -------------------------------------------------------------------------------------
>
>                 Key: SLING-10679
>                 URL: https://issues.apache.org/jira/browse/SLING-10679
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting HTL Engine 1.4.8-1.4.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>
> Currently in https://github.com/apache/sling-org-apache-sling-scripting-sightly-runtime/blob/org.apache.sling.scripting.sightly.runtime-1.2.4-1.4.0/src/main/java/org/apache/sling/scripting/sightly/render/ObjectModel.java#L277 only String and Number is converted to a single item list. This fallback should be extended to support every type.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)