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

Konrad Windszus resolved SLING-5358.
------------------------------------
    Resolution: Fixed

Fixed in [r1725219|http://svn.apache.org/r1725219].

> Description for OSGi configuration of 
> org.apache.sling.servlets.resolver.SlingServletResolver 
> servletresolver.servletRoot is wrong
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-5358
>                 URL: https://issues.apache.org/jira/browse/SLING-5358
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>    Affects Versions: Servlets Resolver 2.3.8
>            Reporter: Konrad Windszus
>            Priority: Minor
>             Fix For: Servlets Resolver 2.3.10
>
>
> The description of that property of the OSGi configuration says:
> {quote}
> The default root path assumed when registering a Servlet whose Servlet 
> registration properties define a relative path. The default value is "/apps". 
> This path should be part of the search path configured in the Resource 
> Resolver Factory otherwise a thus registered servlet may not be found.
> {quote}
> https://github.com/apache/sling/blob/trunk/bundles/servlets/resolver/src/main/resources/OSGI-INF/metatype/metatype.properties#L36
> The default value is actually 0 not "/apps" 
> (https://github.com/apache/sling/blob/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java#L137).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to