[Tickets #4818] Must check type before attempting delete

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Dec 28 22:10:53 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://dev.horde.org/horde/whups/ticket/?id=4818
-----------------------------------------------------------------------
 Ticket             | 4818
 Created By         | Ben Klang <ben at alkaloid.net>
 Summary            | Must check type before attempting delete
 Queue              | Gollem
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
+New Attachment     | gollem-delete-file-check.patch
-----------------------------------------------------------------------


Ben Klang <ben at alkaloid.net> (2006-12-28 22:10) wrote:

When requesting to delete a VFS object, Gollem first tries to delete the
object as a file.  If that fails for any reason (database error,
permissions, whatever), it retries the delete as a directory.  The
attached patch checks the object type and calls the appropriate method.





More information about the bugs mailing list