jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1611) Registering NodeType from templates throws exception about invalid decl. node type.
Date Sun, 18 May 2008 20:50:55 GMT
Registering NodeType from templates throws exception about invalid decl. node type.
-----------------------------------------------------------------------------------

                 Key: JCR-1611
                 URL: https://issues.apache.org/jira/browse/JCR-1611
             Project: Jackrabbit
          Issue Type: Bug
          Components: nodetype
            Reporter: Tobias Bocanegra
             Fix For: 1.5


when adding PropertyDefinitionTemplates to NodeTypeTemplates, the internal declaredNodeType
field is not set and causes the registration fail with:

org.apache.jackrabbit.api.jsr283.nodetype.InvalidNodeTypeDefinitionException: [{}foo#{}test]
invalid declaring node type specified
	at org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.registerNodeTypes(NodeTypeManagerImpl.java:695)
	at org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.registerNodeType(NodeTypeManagerImpl.java:615)

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


Mime
View raw message