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 2016/10/14 15:23:20 UTC

[jira] [Created] (SLING-6156) JsUseProvider should use the sling-scripting service user for solving scripting dependencies

Radu Cotescu created SLING-6156:
-----------------------------------

             Summary: JsUseProvider should use the sling-scripting service user for solving scripting dependencies
                 Key: SLING-6156
                 URL: https://issues.apache.org/jira/browse/SLING-6156
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Scripting HTL JS Use Provider 1.0.12
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: Scripting HTL JS Use Provider 1.0.16


In SLING-5334 the {{JsUseProvider}} was modified for better handling of script resolution for components using inheritance. However, the resolver that's currently used for solving these dependencies is not the correct one, since {{SlingScript}} resources will always use the request resource resolver.

The fix is to switch to a resource resolver backed by the {{sling-scripting}} service user.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)