Radu Cotescu created SLING-7094:
-----------------------------------

             Summary: The script factories in the JS Use Provider are not 
always installed in the correct order
                 Key: SLING-7094
                 URL: https://issues.apache.org/jira/browse/SLING-7094
             Project: Sling
          Issue Type: Bug
          Components: Scripting
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: Scripting HTL JS Use Provider 1.0.24


The JavaScript factories configured in 
{{org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider}} 
are not always instantiated in the order in which they were configured.

Since this could lead to instantiation errors, the 
{{org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider}} 
should store the factories in a {{LinkedHashMap}} instead.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to