[ https://issues.apache.org/jira/browse/VFS-714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837268#comment-16837268 ]
Gary Gregory commented on VFS-714: ---------------------------------- [~boris-petrov], Thank you for your report. Feel free to submit a PR on GitHub :-) Gary > FileObject.deleteAll doesn't work on a NullFilesCache > ----------------------------------------------------- > > Key: VFS-714 > URL: https://issues.apache.org/jira/browse/VFS-714 > Project: Commons VFS > Issue Type: Bug > Affects Versions: 2.3 > Reporter: Boris Petrov > Priority: Major > > If one tries to call `folder.deleteAll` on a folder which has children and a > `NullFilesCache` is setup on the file system manager, this call fails to > delete the folder. > This is due to the `file.getChildren().length != 0` call returning `true` for > the folder - the children are cached for it and the cache is not cleared even > though a child is deleted because a `NullFilesCache` is used. -- This message was sent by Atlassian JIRA (v7.6.3#76005)