DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33498>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33498

           Summary: WebdavResource's moveMethod returns true even when it
                    fails
           Product: Slide
           Version: 1.0.16 Stable
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: WebDAV client
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The method org.apache.webdav.lib.WebdavResource.moveMethod(String src, String
dest) doesn�t work properly if the source path is a directory and the user has
insufficient rights. The function returns true (i.e. as if it succeeded) even
when it actually fails to move/rename the folder because of insufficient
permissions.

To reproduce:
Create a directory in the repository and set the permissions such that a
specific user can only read from that resource.
Then create a WebdavResource object for that user pointing to the directory you
just created. Call the moveMethod. The functions returns true even though it 
fails.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to