6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11518] Login Tasks
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ __.. ..__. |_/ [__)(__ \ /| | | \[__).__) \/ |__\
Comment
>>> I guess I am still not understanding the issue. I can verify that >>> both the rename sentmail monthly and the delete sentmail monthly >>> tasks are working correctly. >>> >>> You will have to debug further to explain what is not working >>> correctly on your system, or else you should take your questions to >>> the mailing list. >> >> Here the debug i try. I put some traces in >> /usr/share/php/Horde/LoginTasks.php >> >> public function runTasks(array $opts = arraimp/lib/LoginTasks/Task/y()) >> { >> >> Horde::logMessage('==== ENTRY IN RUN TASK =====', 'WARNING'); >> ..... >> /* Perform ready tasks now. */ >> foreach ($this->_tasklist->ready(!$this->_tasklist->processed >> || $opts['user_confirmed']) as $key => $val) { >> if (($val instanceof Horde_LoginTasks_SystemTask) || >> in_array($val->display, array(self::DISPLAY_AGREE, >> self::DISPLAY_NOTICE, self::DISPLAY_NONE)) || >> in_array($key, $opts['confirmed'])) { >> Horde::logMessage('RUN TASK : '.get_class($val), 'WARNING'); >> $val->execute(); >> } >> } >> >> In imp/lib/LoginTasks/Task/DeleteSentmailMonthly.php >> public function execute() >> { >> Horde::logMessage('DELETE_SENT_MONTHLY EXECUTE', 'WARNING'); >> >> and imp/lib/LoginTasks/Task/RenameSentmailMonthly.php >> public function execute() >> { >> Horde::logMessage('RENAMESENTMAILMONTHLY EXECUTE', 'WARNING'); >> >> TEST1 >> --------- >> >> rename_sentmail_monthly is set to on and delete_sentmail_monthly_keep >> is different from 0. Perform tasks are well displayed on screen. Here >> the log : >> >> HORDE: [imp] ==== ENTRY IN RUN TASK ===== [pid 26221 on line 192 of >> "/usr/share/php/Horde/LoginTasks.php"] >> HORDE: [imp] RUN TASK : IMP_LoginTasks_Task_DeleteSentmailMonthly >> [pid 26221 on line 216 of "/usr/share/php/Horde/LoginTasks.php"] >> HORDE: [imp] DELETE_SENT_MONTHLY EXECUTE [pid 26221 on line 35 of >> "/var/www/horde4/imp/lib/LoginTasks/Task/DeleteSentmailMonthly.php"] >> HORDE: [imp] ==== ENTRY IN RUN TASK ===== [pid 26221 on line 192 of >> "/usr/share/php/Horde/LoginTasks.php"] >> HORDE: [imp] ==== ENTRY IN RUN TASK ===== [pid 26221 on line 192 of >> "/usr/share/php/Horde/LoginTasks.php"] >> HORDE: [imp] ==== ENTRY IN RUN TASK ===== [pid 26213 on line 192 of >> "/usr/share/php/Horde/LoginTasks.php"] >> >> I don't understand why RenameSentmailMonthly.php is not called after >> DeleteSentmailMonthly.php > > Can't reproduce. If both are non-zero, they will both be active and > appear on the same confirmation page. > >> TEST2 >> --------- >> rename_sentmail_monthly is set to on and delete_sentmail_monthly_keep >> is set to zero. Here the log : >> >> HORDE: [imp] ==== ENTRY IN RUN TASK ===== [pid 26257 on line 192 of >> "/usr/share/php/Horde/LoginTasks.php"] >> HORDE: [imp] RUN TASK : IMP_LoginTasks_Task_RenameSentmailMonthly >> [pid 26257 on line 216 of "/usr/share/php/Horde/LoginTasks.php"] >> HORDE: [imp] RENAMESENTMAILMONTHLY EXECUTE [pid 26257 on line 46 of >> "/var/www/horde4/imp/lib/LoginTasks/Task/RenameSentmailMonthly.php"] >> HORDE [imp] ==== ENTRY IN RUN TASK ===== [pid 26257 on line 192 of >> "/usr/share/php/Horde/LoginTasks.php"] >> HORDE: [imp] ==== ENTRY IN RUN TASK ===== [pid 26257 on line 192 of >> "/usr/share/php/Horde/LoginTasks.php"] >> HORDE: [imp] ==== ENTRY IN RUN TASK ===== [pid 26146 on line 192 of >> "/usr/share/php/Horde/LoginTasks.php"] > > I can reproduce this, but this is the expected behavior. > > You've cleared out all the user's preferences before trying this out, > correct? > > Unless you can debug this yourself, this ticket will be closed as > this behavior is not reproducible.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers