[Tickets #5111] Re: Keeps asking for maintenance

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Apr 11 14:46:12 UTC 2007


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

Ticket URL: http://bugs.horde.org/ticket/?id=5111
-----------------------------------------------------------------------
 Ticket             | 5111
 Updated By         | franke at bethzur.com
 Summary            | Keeps asking for maintenance
 Queue              | IMP
 Version            | HEAD
 Type               | Bug
 State              | Resolved
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


franke at bethzur.com (2007-04-11 07:46) wrote:

Re bug report 5111, it's back. IMP keeps wanting to purge old attachments
every time I log in. I checked the last_maintenance value for my user, and
it is NOT changing when maintenance is performed. So, it keeps asking.
Previously, I removed all values from horde_prefs where pref_name =
last_maintenance, and that fixed it for 30 days. However, 30 days later,
it seems to be back. Any idea why the last_maintenance is never updated
only inserted?

A little more information. /usr/share/php/Horde/Maintenance.php, which is
where framework/Maintenance/Maintenance.php gets installed, has a function
_doMaintenanceTasks(). In there, it seems that
count($this->_tasklist->getList()) is never zero. The
delete_attachments_monthly element in the array is never removed. This is
because if ($val['newpage']) is true (1), and it breaks out of the loop
without removing the entry.

I have no idea what this should be doing, but that's what's happening.

If I either purge this attribute from horde_prefs or modify the source to
always update the date (basically assume all tasks compelted), then it
doesn't keep asking. Somehow it doesn't think the maintenance task
completed.

This happens in every browser (IE, FF and Safari). 



More information about the bugs mailing list