Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Scripting HTL Engine 1.0.26
-
None
Description
When calling org.apache.sling.scripting.sightly.impl.engine.SightlyScriptEngine#eval the bindings from the script context will be set two times: once by the engine and once more by the resulting compiled script. Although it has no side-effect, executing the same operation twice is redundant. Only the compiled script should perform this operation.
Attachments
Issue Links
- is caused by
-
SLING-6173 HTL compiled scripts need to set the SlingBindings as request attributes on eval
- Closed