You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2021/08/07 19:29:00 UTC
[jira] [Closed] (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 ]
Eric Norman closed SLING-10679.
-------------------------------
Closing with theĀ 1.2.6-1.4.0 release
> 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 Runtime 1.2.4-1.4.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: Scripting HTL Runtime 1.2.6-1.4.0
>
>
> 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)