You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2010/03/11 17:49:27 UTC

[jira] Created: (JCR-2565) spi2dav: Overwrite header T specified for MOVE and COPY causes failure if some API tests

spi2dav: Overwrite header T specified for MOVE and COPY causes failure if some API tests
----------------------------------------------------------------------------------------

                 Key: JCR-2565
                 URL: https://issues.apache.org/jira/browse/JCR-2565
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-spi2dav
    Affects Versions: 2.0.0
            Reporter: angela


failing tests are:

org.apache.jackrabbit.test.api.WorkspaceCopySameNameSibsTest#testCopyNodesNodeExistsAtDestPath
org.apache.jackrabbit.test.api.WorkspaceMoveSameNameSibsTest#testMoveNodesNodeExistsAtDestPath

those would be fixed by setting the overwrite header to F(alse)... however, this doesn't fit those cases where same-same
siblings would be allowed and the copy/move to a destination with existing item would succeed in JCR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2565) spi2dav: Overwrite header T specified for MOVE and COPY causes failure if some API tests

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved JCR-2565.
-------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0
         Assignee: angela

changed overwrite header to F and adjusted the copy/move operation in the servlet in order NOT to fail in case of existing destination including 
some comments why this is required for the remoting although not in accordance with the RFC.

in addition added a test to jackrabbit-jcr-test for copying twice with SNS-enabled at the destination checking if this results
in 2 child nodes. this didn't work with the overwrite header T either as the existing node got removed...

> spi2dav: Overwrite header T specified for MOVE and COPY causes failure if some API tests
> ----------------------------------------------------------------------------------------
>
>                 Key: JCR-2565
>                 URL: https://issues.apache.org/jira/browse/JCR-2565
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-spi2dav
>    Affects Versions: 2.0.0
>            Reporter: angela
>            Assignee: angela
>             Fix For: 2.1.0
>
>
> failing tests are:
> org.apache.jackrabbit.test.api.WorkspaceCopySameNameSibsTest#testCopyNodesNodeExistsAtDestPath
> org.apache.jackrabbit.test.api.WorkspaceMoveSameNameSibsTest#testMoveNodesNodeExistsAtDestPath
> those would be fixed by setting the overwrite header to F(alse)... however, this doesn't fit those cases where same-same
> siblings would be allowed and the copy/move to a destination with existing item would succeed in JCR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.