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

Michael Dürig resolved JCR-2984.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0

Fixed at revision 1133332

> JCR2SPI NamespaceRegistryImpl.unregisterNamespace passes prefix to storage 
> when uri is expected
> -----------------------------------------------------------------------------------------------
>
>                 Key: JCR-2984
>                 URL: https://issues.apache.org/jira/browse/JCR-2984
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr2spi
>    Affects Versions: 2.2.5, 2.3.0
>            Reporter: Edouard Hue
>            Assignee: Michael Dürig
>              Labels: namespaces
>             Fix For: 2.3.0
>
>
> When trying to unregister a namespace through SPI, Jackrabbit throws a 
> NamespaceException : <prefix>: is not a registered namespace uri.
> javax.jcr.NamespaceRegistry.unregisterNamespace(String prefix) expects the 
> namespace prefix. Though, 
> org.apache.jackrabbit.jcr2spi.NamespaceRegistryImpl.unregisterNamespace(String
>  prefix) calls directly 
> org.apache.jackrabbit.jcr2spi.NamespaceStorage.unregisterNamespace(String 
> uri), which expects the namespace uri.
> The namespace registry should first retrieve the uri for the provided prefix.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to