jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "scharles (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-271) IMPORT_UUID_COLLISION_REPLACE_EXISTING removes the existing node + subtree
Date Wed, 16 Nov 2005 17:08:30 GMT
IMPORT_UUID_COLLISION_REPLACE_EXISTING removes the existing node + subtree
--------------------------------------------------------------------------

         Key: JCR-271
         URL: http://issues.apache.org/jira/browse/JCR-271
     Project: Jackrabbit
        Type: Bug
    Reporter: scharles


If you try to import a node in between existing hierarchy using IMPORT_UUID_COLLISION_REPLACE_EXISTING
it removes the sub tree instead of only replacing the imported node.

To reproduse - 

1. create /main/sub
2. export /main/sub
3. add nodes under /main/sub/...
4. Session.importXML(.., .., IMPORT_UUID_COLLISION_REPLACE_EXISTING);
You will left with /main/sub only






-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message