[Tickets #2239] NEW: Delete Monthly Maintenance

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Jul 8 07:14:31 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2239
-----------------------------------------------------------------------
 Ticket             | 2239
 Created By         | francesco.allegretti at fameccanica.com
 Summary            | Delete Monthly Maintenance
 Queue              | IMP
 Version            | 4.0.3
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
+New Attachment     | delete_attachments_monthly.php
-----------------------------------------------------------------------


francesco.allegretti at fameccanica.com (2005-07-08 07:14) wrote:

we have discovered this potential bug about imp.
During the monthly maintenance where it should delete every old attachment
(According to the option set in user's options), horde/imp deletes the
ENTIRE VFS directory.
it appears the error resides in the file called
/horde/imp/lib/Maintenance/Task/delete_attachments_monthly.php 
The class function vfs->Deletefolder has an empty parameter ($dir['val']).
Httpd log shows a warning about its undefined state. Since it is empty it
will start the deletion from the VFS root.

We solved the problem..... just watch the file in attachment... i hope for a
quick fix :)

Regards




More information about the bugs mailing list