[ 
https://issues.apache.org/jira/browse/SLING-7859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radu Cotescu resolved SLING-7859.
---------------------------------
    Resolution: Fixed

Fixed inĀ [commit 
4d605e8|https://github.com/apache/sling-org-apache-sling-scripting-sightly/commit/4d605e8].

> 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
>            Priority: Major
>             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