6.0.0-beta1
8/3/25

[#5217] Keeps asking for maintenance again
Summary Keeps asking for maintenance again
Queue IMP
Queue Version HEAD
Type Bug
State Duplicate
Priority 2. Medium
Owners
Requester franke (at) bethzur (dot) com
Created 04/05/2007 (6695 days ago)
Due
Updated 04/08/2007 (6692 days ago)
Assigned
Resolved 04/08/2007 (6692 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/08/2007 03:34:43 AM Chuck Hagenbuch Comment #4
State ⇒ Duplicate
Reply to this comment
Please add information to the existing bug (bug 5111) if this is the 
same problem.
04/05/2007 03:19:42 AM franke (at) bethzur (dot) com Comment #3 Reply to this comment
Sorry, not 11, but 1. The array is:



Array ( [delete_attachments_monthly] => Array ( [confirmed] => 
[display] => 7 [newpage] => 1 ) )



It seems that Horde/Maintenance.php's addTask() function thinks 
(!$confirmed && !$this->_addFlag) is true.
04/05/2007 02:31:14 AM franke (at) bethzur (dot) com Comment #2 Reply to this comment
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 (11), 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.
04/05/2007 02:16:51 AM franke (at) bethzur (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Keeps asking for maintenance again
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
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?

Saved Queries