Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Scripting Sightly Engine 1.0.0, Scripting HTL Engine 1.0.20
-
None
Description
Inherited public fields for a Java use-class cannot be accessed directly in HTL, due to how object properties resolution is implemented in https://github.com/apache/sling/blob/1aa2c8be782ecb858de9030501e67edc4aba1357/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/render/AbstractRuntimeObjectModel.java#L293.
When solving Fields the Field#getField method should be used instead.
Attachments
Attachments
Issue Links
- is part of
-
SLING-7085 Reduce code duplication
- Closed