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 2017/09/01 11:12:00 UTC
[jira] [Resolved] (SLING-7097) The SlingRuntimeObjectModel should
adapt a target object to ValueMap as a last resort
[ https://issues.apache.org/jira/browse/SLING-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu resolved SLING-7097.
---------------------------------
Resolution: Fixed
Fixed in [r1806931|https://svn.apache.org/r1806931].
> The SlingRuntimeObjectModel should adapt a target object to ValueMap as a last resort
> -------------------------------------------------------------------------------------
>
> Key: SLING-7097
> URL: https://issues.apache.org/jira/browse/SLING-7097
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting HTL Engine 1.0.38
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Fix For: Scripting HTL Engine 1.0.40
>
>
> The {{org.apache.sling.scripting.sightly.impl.engine.runtime.SlingRuntimeObjectModel}} should adapt a target object to {{ValueMap}} as a last resort in {{org.apache.sling.scripting.sightly.impl.engine.runtime.SlingRuntimeObjectModel#getProperty}}. Otherwise a {{ValueMap}} property obtained through adaption could hide the result returned by a publicly accessible field or method with the same name / base name as a property provided by the map.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)