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 2020/07/07 15:27:00 UTC
[jira] [Created] (SLING-9571) Nested selector scripts do not have a
path-based registered servlet
Radu Cotescu created SLING-9571:
-----------------------------------
Summary: Nested selector scripts do not have a path-based registered servlet
Key: SLING-9571
URL: https://issues.apache.org/jira/browse/SLING-9571
Project: Sling
Issue Type: Bug
Components: Servlets
Affects Versions: Servlets Resolver 2.7.0
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Fix For: Servlets Resolver 2.7.2
If a bundle provides a nested selector script (e.g. {{resourceType/selectorNesting/selectorScript.html}}) via the {{osgi.extender; osgi.extender="sling.scripting"; version:Version="1.0.0"}} capability of the {{org.apache.sling.servlets.resolver}} bundle, then the {{org.apache.sling.servlets.resolver.bundle.tracker.internal.BundledScriptTracker}} will not generate a path-based servlet, registering the selector combination only as part of a resource-type servlet. This will make script delegations (via {{sling:call}}, {{data-sly-include}}) fail.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)