You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2018/08/28 06:29:00 UTC

[jira] [Created] (SLING-7859) The HTL engine sets the script bindings two times

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)