[
https://issues.apache.org/jira/browse/SLING-7094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu resolved SLING-7094.
---------------------------------
Resolution: Fixed
Fixed in [r1806769|https://svn.apache.org/r1806769].
> 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)