Radu Cotescu created SLING-10340:
------------------------------------
Summary: The ScriptResource should unwrap the active resource
before adapting it to a Servlet
Key: SLING-10340
URL: https://issues.apache.org/jira/browse/SLING-10340
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.14
In SLING-9365 the Servlet Resolver was enhanced to not mount the resource
providers for the bound servlets, with the benefit of way faster startups for
systems with a large number of servlets.
However, when the {{ScriptResource}} has to be adapted to a {{Servlet}}, this
should only happen if the {{ScriptResource}} is not based on a
{{ServletResource}} or a wrapped {{ServletResource}} in order for the correct
shadowed resource to be picked up.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)