You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/09/03 23:37:44 UTC

[jira] Closed: (SLING-642) ResourceProvider registered with a root path with a trailing slash cannot be unregistered

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

Felix Meschberger closed SLING-642.
-----------------------------------

    Resolution: Fixed

Fixed in Rev. 691792.

> ResourceProvider registered with a root path with a trailing slash cannot be unregistered
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-642
>                 URL: https://issues.apache.org/jira/browse/SLING-642
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Resource
>    Affects Versions: JCR Resource 2.0.2
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: JCR Resource 2.0.4
>
>
> If a ResourceProvider is registered with a path with a trailing slash, it is happily and correctly registered. Unregistration fails for such a root path.
> Actually root paths used for hooking ResourceProvider instances into the provider tree should never have a trailing slash.
> Therefore the JcrResourceResolverFactoryImpl.bindResourceProvider and unbindResourceProvider methods should remove any trailing slash from the root paths before using them for hooking the ResourceProvider up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.