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

Reply via email to