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

Stefan Guggisberg resolved JCR-1611.
------------------------------------

    Resolution: Fixed

fixed in r657826

> 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.

Reply via email to