You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2019/01/24 10:37:00 UTC
[jira] [Resolved] (SLING-8228) Expand Optional objects in the
ObjectModel
[ https://issues.apache.org/jira/browse/SLING-8228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu resolved SLING-8228.
---------------------------------
Resolution: Fixed
Fixed in [commit 5484236|https://github.com/apache/sling-org-apache-sling-scripting-sightly-runtime/commit/5484236].
> Expand Optional objects in the ObjectModel
> ------------------------------------------
>
> Key: SLING-8228
> URL: https://issues.apache.org/jira/browse/SLING-8228
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Priority: Major
> Fix For: Scripting HTL Runtime 1.1.0-1.4.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The HTL runtime currently treats {{java.util.Optional}} like regular objects, however it would help developers if these objects were actually expanded and their values, when present, checked against the methods provided by {{org.apache.sling.scripting.sightly.render.ObjectModel}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)