You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Rod Mackenzie (JIRA)" <ji...@apache.org> on 2005/02/10 12:13:13 UTC

[jira] Created: (JCR-42) Workspace.move() and Session.move() allow moves to an invalid path

Workspace.move() and Session.move()  allow moves to an invalid path
-------------------------------------------------------------------

         Key: JCR-42
         URL: http://issues.apache.org/jira/browse/JCR-42
     Project: Jackrabbit
        Type: Bug
  Components: API  
 Environment: Jackrabbit r153068
    Reporter: Rod Mackenzie


When calling Workspace.move() with an invalid destination path, which is a child of the source path, e.g. move("/path", "/path/path2"), results in the source path nodes being removed. When calling Session.move() the failure is a StackOverflowError when save is called.



-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (JCR-42) Workspace.move() and Session.move() allow moves to an invalid path

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-42?page=history ]

Stefan Guggisberg reassigned JCR-42:
------------------------------------

    Assign To: Stefan Guggisberg

> Workspace.move() and Session.move()  allow moves to an invalid path
> -------------------------------------------------------------------
>
>          Key: JCR-42
>          URL: http://issues.apache.org/jira/browse/JCR-42
>      Project: Jackrabbit
>         Type: Bug
>   Components: API
>  Environment: Jackrabbit r153068
>     Reporter: Rod Mackenzie
>     Assignee: Stefan Guggisberg

>
> When calling Workspace.move() with an invalid destination path, which is a child of the source path, e.g. move("/path", "/path/path2"), results in the source path nodes being removed. When calling Session.move() the failure is a StackOverflowError when save is called.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (JCR-42) Workspace.move() and Session.move() allow moves to an invalid path

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-42?page=history ]
     
Stefan Guggisberg resolved JCR-42:
----------------------------------

    Resolution: Fixed

fixed in rev. 153279

thanks for posting this issue!

> Workspace.move() and Session.move()  allow moves to an invalid path
> -------------------------------------------------------------------
>
>          Key: JCR-42
>          URL: http://issues.apache.org/jira/browse/JCR-42
>      Project: Jackrabbit
>         Type: Bug
>   Components: API
>  Environment: Jackrabbit r153068
>     Reporter: Rod Mackenzie
>     Assignee: Stefan Guggisberg

>
> When calling Workspace.move() with an invalid destination path, which is a child of the source path, e.g. move("/path", "/path/path2"), results in the source path nodes being removed. When calling Session.move() the failure is a StackOverflowError when save is called.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (JCR-42) Workspace.move() and Session.move() allow moves to an invalid path

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-42?page=history ]
     
Stefan Guggisberg closed JCR-42:
--------------------------------


> Workspace.move() and Session.move()  allow moves to an invalid path
> -------------------------------------------------------------------
>
>          Key: JCR-42
>          URL: http://issues.apache.org/jira/browse/JCR-42
>      Project: Jackrabbit
>         Type: Bug
>   Components: API
>  Environment: Jackrabbit r153068
>     Reporter: Rod Mackenzie
>     Assignee: Stefan Guggisberg

>
> When calling Workspace.move() with an invalid destination path, which is a child of the source path, e.g. move("/path", "/path/path2"), results in the source path nodes being removed. When calling Session.move() the failure is a StackOverflowError when save is called.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira