You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Strasser (JIRA)" <ji...@apache.org> on 2005/09/01 16:58:04 UTC

[jira] Created: (JCR-205) Version.merge() corrupts repository

Version.merge() corrupts repository
-----------------------------------

         Key: JCR-205
         URL: http://issues.apache.org/jira/browse/JCR-205
     Project: Jackrabbit
        Type: Bug
  Components: versioning  
    Versions: 1.0    
 Reporter: Tobias Strasser
 Assigned to: Tobias Strasser 


Version.merge() corrupts repository. somehow the 'protected' flags of the nt:version nodetype is not properly checked.
this happens due to a wrong test case that calls merge on a Version instead of a normal Node.


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


[jira] Closed: (JCR-205) Version.merge() corrupts repository

Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-205?page=all ]
     
Tobias Strasser closed JCR-205:
-------------------------------

    Fix Version: 1.0
     Resolution: Fixed

fixed.

Author: tripod
Date: Fri Sep  2 03:37:27 2005
New Revision: 267183

Modified:
   incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/VersionHistoryImpl.java
   incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/VersionImpl.java
   incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/version/VersionHistoryTest.java
   incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/version/VersionTest.java


> Version.merge() corrupts repository
> -----------------------------------
>
>          Key: JCR-205
>          URL: http://issues.apache.org/jira/browse/JCR-205
>      Project: Jackrabbit
>         Type: Bug
>   Components: versioning
>     Versions: 1.0
>     Reporter: Tobias Strasser
>     Assignee: Tobias Strasser
>      Fix For: 1.0

>
> Version.merge() corrupts repository. somehow the 'protected' flags of the nt:version nodetype is not properly checked.
> this happens due to a wrong test case that calls merge on a Version instead of a normal Node.

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