Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The current (1.2.0 and before) implementation of the org.apache.sling.scripting.sightly.js.impl.use.DependencyResolver can be simplified and reduced to two use-cases:
- caller is a JS script - resolve the dependency relative to the script, but taking resource type hierarchy in consideration
- caller is a component script - resolve the dependency relative to the resource type, but traverse the resource type hierarchy if needed
Attachments
Issue Links
- causes
-
SLING-9619 The JavaScript Use Provider does not allow loading scripts relative to search paths any more
- Closed
- is cloned by
-
SLING-9599 Incomplete non-existing resource check
- Closed
- relates to
-
SLING-9657 Same-name JS Use dependencies are not always correctly resolved
- Closed