jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-36) NodeTypeRegistry.reregister unregisters dependent types
Date Wed, 22 Dec 2004 15:51:03 GMT
NodeTypeRegistry.reregister unregisters dependent types
-------------------------------------------------------

         Key: JCR-36
         URL: http://nagoya.apache.org/jira/browse/JCR-36
     Project: Jackrabbit
        Type: Bug
 Environment: Jackrabbit SVN Rev. 122969
    Reporter: Felix Meschberger
    Priority: Critical


NodeTypeRegistry.reregister allows modifying a registered node type if the difference to the
currently registered node type with the same name is TRIVIAL according to NodeTypeDefDiff.

Before registering the new node type definition the old node type is unregistered. The side
effect of that first step is that also all NodeTypes, which depend (extend ?) the node type
to be re-registered, are removed from the registry.

After the modified node type is then registered, the previously registered dependent node
types will not be registered anymore and will not be known any more.

While it makes sense to me, to temporarily unregister dependent node types, those must be
registered again after the re-registered node type has been registered. Otherwise the system
may become pretty useless.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message