Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41E9B90F2 for ; Tue, 26 Feb 2013 13:18:13 +0000 (UTC) Received: (qmail 70335 invoked by uid 500); 26 Feb 2013 13:18:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 70202 invoked by uid 500); 26 Feb 2013 13:18:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 70182 invoked by uid 99); 26 Feb 2013 13:18:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2013 13:18:12 +0000 Date: Tue, 26 Feb 2013 13:18:12 +0000 (UTC) From: "Jean-Marc Borer (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (VFS-465) WebDAV: Cannot delete an empty directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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