[ 
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

Reply via email to