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/03 00:09:00 UTC

[jira] [Resolved] (SLING-10678) enhance ObjectModel#resolveProperty to handle target that is an enum class

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

Eric Norman resolved SLING-10678.
---------------------------------
    Resolution: Fixed

Merged PR at:  [{{4535795}}|https://github.com/apache/sling-org-apache-sling-scripting-sightly-runtime/commit/4535795ec08d4e7110e8731b01b51d30e6ffd9e8]

> enhance ObjectModel#resolveProperty to handle target that is an enum class
> --------------------------------------------------------------------------
>
>                 Key: SLING-10678
>                 URL: https://issues.apache.org/jira/browse/SLING-10678
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Major
>             Fix For: Scripting HTL Runtime 1.2.6-1.4.0
>
>
> Companion ticket for:  SLING-10677
> When an expression target object is an enum class, the ObjectModel#resolveProperty should handle resolving these scenarios:
>  # enum value by name
>  # enum value by ordinal
>  # access static field within the enum
>  # access static method within the enum
>  



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