jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1915) Node.setPrimaryNodeType should only redefine child-definitions that are not covered by the new effective nt
Date Fri, 19 Dec 2008 10:37:44 GMT
Node.setPrimaryNodeType should only redefine child-definitions that are not covered by the
new effective nt
-----------------------------------------------------------------------------------------------------------

                 Key: JCR-1915
                 URL: https://issues.apache.org/jira/browse/JCR-1915
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 1.5.0
            Reporter: angela
             Fix For: 1.6.0


NodeImpl.setPrimaryNodeType changes the primary node type of an node and resets the definition
of child items if required. Currently all child items that are not part of the effective node
type of the new primary type get their definition reset or are removed in case not matching
definition is found.
>From my point of view this doesn't properly cope with mixin types present on the node:
child items defined by any of the mixin node types present should probably not be touched
(or removed).

I run into this while testing the latest 283 security changes and will try to provide a fix
along with those changes.

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