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 2017/08/31 08:38:00 UTC
[jira] [Created] (SLING-7094) The script factories in the JS Use
Provider are not always installed in the correct order
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)