Radu Cotescu created SLING-7075:
-----------------------------------
Summary: Inherited public fields cannot be accessed directly in HTL
Key: SLING-7075
URL: https://issues.apache.org/jira/browse/SLING-7075
Project: Sling
Issue Type: Bug
Components: Scripting
Affects Versions: Scripting HTL Engine 1.0.20, Scripting Sightly Engine
1.0.0
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Fix For: Scripting HTL Engine 1.0.38
Inherited public fields 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)