commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Borer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VFS-465) WebDAV: Cannot delete an empty directory
Date Tue, 26 Feb 2013 13:18:12 GMT

    [ https://issues.apache.org/jira/browse/VFS-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587108#comment-13587108
] 

Jean-Marc Borer commented on VFS-465:
-------------------------------------

The issue is in WebdavFileObject where the source directory should be ignored but the test
is not formed properly. Therefore it is included and consequently, delete will not work.
                
> WebDAV: Cannot delete an empty directory
> ----------------------------------------
>
>                 Key: VFS-465
>                 URL: https://issues.apache.org/jira/browse/VFS-465
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Jean-Marc Borer
>
> WebDAV seems to always include the parent folder when returning a list
> of children for a directory. In VFS, it is checked that a folder is
> empty before allowing to delete it. However with WebDAV, all empty
> dirs return one entry (themselfs) which prevents the deletion of the
> directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message