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] Updated: (JCR-2130) Node.removeMixin() should not remove valid items
Date Sun, 07 Jun 2009 13:08:07 GMT

     [ https://issues.apache.org/jira/browse/JCR-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Guggisberg updated JCR-2130:
-----------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Improvement  (was: Bug)

changed issue type/priority;

not a bug since the existing implementation is spec-compliant.

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


Mime
View raw message