[ 
https://issues.apache.org/jira/browse/SLING-10340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radu Cotescu resolved SLING-10340.
----------------------------------
    Resolution: Fixed

Fixed in [commit 
245ae4d|https://github.com/apache/sling-org-apache-sling-servlets-resolver/commit/245ae4d].

> 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
>            Priority: Major
>             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}}, the 
> active resource should be checked if it's either a {{ServletResource}} or a 
> wrapped {{ServletResource}} to obtain its servlet. Otherwise the normal 
> {{SlingAdaptable}} behaviour should be used.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to