Typo in NodeTypeRegistry
------------------------

                 Key: JCR-2793
                 URL: https://issues.apache.org/jira/browse/JCR-2793
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.2.0
            Reporter: Serge Huber
             Fix For: 2.2.0
         Attachments: Fix_typo_on_custom_node_types_constant.patch

It seems a little typo has been introduced in the NodeTypeRegistry, as 
illustrated in this stack trace : 

Caused by: javax.jcr.RepositoryException: internal error: invalid resource: 
nodetypes/custom_nodetypes.xml
        at 
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.<init>(NodeTypeRegistry.java:703)
 ~[jackrabbit-core-2.2-SNAPSHOT.jar:2.2-SNAPSHOT]
        at 
org.apache.jackrabbit.core.RepositoryImpl.createNodeTypeRegistry(RepositoryImpl.java:422)
 ~[jackrabbit-core-2.2-SNAPSHOT.jar:na]
        at 
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:294) 
~[jackrabbit-core-2.2-SNAPSHOT.jar:na]

This happens when using a DbFileSystem for the root filesystem. This didn't 
cause a problem in 2.1.1

The patch attached to this ticket correct the issue.

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

Reply via email to