[Tickets #8475] Skipping login tasks not working as expected

bugs at horde.org bugs at horde.org
Mon Aug 3 10:34:04 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/8475
------------------------------------------------------------------------------
  Ticket             | 8475
  Created By         | Jan Schneider <jan at horde.org>
  Summary            | Skipping login tasks not working as expected
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Assigned
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2009-08-03 06:34) wrote:

While trying to debug why I still get logintasks.php in the sidebar, I  
found the following:
In LoginTasks::runTasks(), if setting 'runtasks' to false in the call  
to LoginTasks_Tasklist::ready(), that method splits up system tasks  
into $tmp and all other tasks into $this->_tasks.
Then, LoginTasks_Tasklist::needDisplay() still returns true, because  
the $options hash is not considered there anymore.
Maybe the split-up in ready() is supposed differently, the  
array_slice() call looks suspicious to me. Can we guarantee that  
system tasks are always first in $this->_tasks?






More information about the bugs mailing list