You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/05/22 13:24:19 UTC
[jira] [Resolved] (OAK-829) ConstraintViolationException while
retrieving definition for all nodes with name jcr:childNodeDefinition
[ https://issues.apache.org/jira/browse/OAK-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved OAK-829.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.9
Assignee: Jukka Zitting
The problem was the SNS index suffix in the jcr:childNodeDefinition node names. Fixed in http://svn.apache.org/r1485150.
> ConstraintViolationException while retrieving definition for all nodes with name jcr:childNodeDefinition
> --------------------------------------------------------------------------------------------------------
>
> Key: OAK-829
> URL: https://issues.apache.org/jira/browse/OAK-829
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, jcr
> Reporter: angela
> Assignee: Jukka Zitting
> Fix For: 0.9
>
>
> yet another error that pops up when trying to look at the content repository
> in the crx-explorer:
> when accessing the child node definition nodes of any node type definition
> a ConstraintViolationException is raised:
> for example for the node at path /jcr:system/jcr:nodeTypes/rep:root/jcr:childNodeDefinition[1] the exception looks as follows
> {noformat}
> javax.jcr.nodetype.ConstraintViolationException: No matching node definition found for jcr:childNodeDefinition[1]
> at org.apache.jackrabbit.oak.plugins.nodetype.EffectiveNodeType.getNodeDefinition(EffectiveNodeType.java:403)
> at org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getDefinition(ReadOnlyNodeTypeManager.java:395)
> at org.apache.jackrabbit.oak.jcr.NodeImpl.internalGetDefinition(NodeImpl.java:1261)
> at org.apache.jackrabbit.oak.jcr.NodeImpl$30.perform(NodeImpl.java:900)
> at org.apache.jackrabbit.oak.jcr.NodeImpl$30.perform(NodeImpl.java:897)
> at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:96)
> at org.apache.jackrabbit.oak.jcr.ItemImpl.perform(ItemImpl.java:93)
> at org.apache.jackrabbit.oak.jcr.NodeImpl.getDefinition(NodeImpl.java:897)
> {noformat}
> but it happens for any other jcr:childNodeDefinition node as well that is
> stored underneath /jcr:system/jcr:nodeTypes
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira