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] Commented: (JCR-2408) Mixin removal exception
Date Wed, 25 Nov 2009 13:20:39 GMT

    [ https://issues.apache.org/jira/browse/JCR-2408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782421#action_12782421
] 

Stefan Guggisberg commented on JCR-2408:
----------------------------------------

This is probably a regression caused by JCR-2170.

here's the stack trace of a quick test i ran (removing mix:title from nt:folder node):

Exception in thread "main" javax.jcr.nodetype.ConstraintViolationException: no matching property
definition found for {http://www.jcp.org/jcr/1.0}title
	at org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:782)
	at org.apache.jackrabbit.core.NodeImpl.getApplicablePropertyDefinition(NodeImpl.java:762)
	at org.apache.jackrabbit.core.ItemManager.getDefinition(ItemManager.java:241)
	at org.apache.jackrabbit.core.NodeImpl.removeMixin(NodeImpl.java:1047)
	at org.apache.jackrabbit.core.NodeImpl.removeMixin(NodeImpl.java:2622)
        [...]

> Mixin removal exception
> -----------------------
>
>                 Key: JCR-2408
>                 URL: https://issues.apache.org/jira/browse/JCR-2408
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.0-beta1
>            Reporter: Alexandre Capt
>
> When trying to remove a mixin from a non nt:unstructured node (in my case nt:resource),
you get the following exception:
> Unable to alter mixin types: javax.jcr.nodetype.ConstraintViolationException: no matching
property definition found for {http://www.day.com/jcr/cq/1.0}lastRolledout
> lastRolledout property is defined by the mixin cq:LiveRelationship that I am trying to
remove.

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