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

Stefan Guggisberg commented on JCR-2130:
----------------------------------------

although this issue is similar to JCR-2011, it's not a 'Duplicate'. resolving 
this issue does not necessarily resolve JCR-2011.

> Node.removeMixin() should not remove valid items
> ------------------------------------------------
>
>                 Key: JCR-2130
>                 URL: https://issues.apache.org/jira/browse/JCR-2130
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.3, 
> 1.3.1, 1.3.3, 1.3.4, 1.4, core 1.4.1, core 1.4.2, core 1.4.3, core 1.4.4, 
> core 1.4.5, core 1.4.6, 1.5.0, core 1.4.7, 1.5.2, core 1.4.8, 1.5.3, core 
> 1.4.9, 1.5.4, 1.5.5
>            Reporter: Tobias Bocanegra
>            Priority: Minor
>
> assume you define a mixin like:
> [test] mix
> - aprop (string)
> + anode (nt:base)
> and you add this mixin to a nt:unstructured and add 'anode' and set 'aprop'.
> then a subsequent node.removeMixin("test") will also remove 'anode' and 
> 'aprop' although they are valid by the definition of nt:unstructured.
> imo, the items should only be removed if they become invalid by the 
> definition of the resulting effective node type.

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