Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7859

The HTL engine sets the script bindings two times

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              radu Radu Cotescu
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: