jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1611) Registering NodeType from templates throws exception about invalid decl. node type.
Date Mon, 19 May 2008 13:27:56 GMT

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


Mime
View raw message