Radu Cotescu created SLING-5334:
-----------------------------------
Summary: Improve Sightly script resolution for components using
inheritance
Key: SLING-5334
URL: https://issues.apache.org/jira/browse/SLING-5334
Project: Sling
Issue Type: Improvement
Components: Scripting
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Priority: Minor
Fix For: Scripting Sightly Engine 1.0.8
Assuming the following content structure:
{noformat}
├── grandparent
│ ├── S.java
│ ├── grandparent.html
│ ├── notoverlaid.js
│ ├── s.ecma
│ ├── s.js
│ └── templates.html
├── parent [sling:resourceSuperType=grandparent]
│ ├── S.java
│ ├── s.ecma
│ ├── s.js
│ └── templates.html
└── child [sling:resourceSuperType=parent]
├── S.java
├── notoverlaid.html
├── s.ecma
├── s.js
└── templates.html
{noformat}
If any of the used scripts / included files would not be directly under the
component node, script resolution would fail. Sightly should be able to
correctly load and overlay component scripts even if they're {{n}} levels deep
under the component node.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)