Radu Cotescu created SLING-7859:
-----------------------------------

             Summary: The HTL engine sets the script bindings two times
                 Key: SLING-7859
                 URL: https://issues.apache.org/jira/browse/SLING-7859
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Scripting HTL Engine 1.0.26
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: Scripting HTL Engine 1.0.56-1.4.0


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to