You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/07/07 13:17:14 UTC
[jira] Updated: (JCR-2130) Node.removeMixin() should not remove
valid items
[ https://issues.apache.org/jira/browse/JCR-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-2130:
-------------------------------
Fix Version/s: 1.6.0
Merged to the 1.x branch in revision 791794.
> 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
> Fix For: 2.0-alpha3, 1.6.0
>
>
> 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.