[Tickets #9767] Re: Login tasks don't work
bugs at horde.org
bugs at horde.org
Tue Nov 1 22:50:13 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9767
------------------------------------------------------------------------------
Ticket | 9767
Updated By | Jan Schneider <jan at horde.org>
Summary | Login tasks don't work
Queue | Horde Base
Version | Git master
Type | Bug
State | Feedback
Priority | 3. High
Milestone |
Patch |
-Owners |
+Owners | Horde Developers, Jan Schneider
------------------------------------------------------------------------------
Jan Schneider <jan at horde.org> (2011-11-01 23:50) wrote:
Here's another few things I found.
If using Horde authentication, and executing IMP for the first time,
the login tasks code is triggered. But the logic in
Horde_LoginTasks_Tasklist#ready() (called from
Horde_LoginTasks#runTasks()) is not correct. When it is executed,
there is one system task and four login tasks in my case. Because of
the system task $tmp's count is 1. While iterating over the standard
tasks, the loop exits immediately because the first task (purge trash)
return $v->needsDisplay() true. $advance is also true, so the first
task (purge trash) is removed from the task list (line 111). Only the
system task is returned.
At the bottom of runTasks() $this->_tasklist->needDisplay() is
executed. It returns false (or array() really) because the next task
in the list doesn't need a confirmation (it's the Test login task from
your earlier comment). Thus runTasks() simply returns and so does
pushApp(). I'm not redirected to the confirmation screen again.
Side note: the system task is always executed because it's triggered
on 5.0.15, so it's running on every login while the current version is
5.0.15. Not sure if this is intended.
More information about the bugs
mailing list