6.0.0-beta1
7/6/25

[#9313] Cannot get past login tasks
Summary Cannot get past login tasks
Queue Horde Base
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester mrubinsk (at) horde (dot) org
Created 10/17/2010 (5376 days ago)
Due
Updated 10/21/2010 (5372 days ago)
Assigned
Resolved 10/21/2010 (5372 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/21/2010 01:25:36 AM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
10/21/2010 01:24:44 AM Git Commit Comment #4 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9313: Fix logintask confirmation
Session data type might change - if it changes from array/object to
scalar, remove the typehint declaration stored in the session.

Possibly fixes Bug #9324
Possibly fixes Bug #9325

http://git.horde.org/diff.php/framework/Core/lib/Horde/Session.php?rt=horde-git&r1=0ab36983a478f9137f04e428f85ccd389e617710&r2=6d69e71624b0a9bcc47b62d64c4f0e002b64fbe0
10/18/2010 10:11:29 PM Michael Rubinsky Comment #3 Reply to this comment
services/logintasks.php prior to the $tasks->runTasks() call:

Array ( [horde] => 1 [ansel] => 1 [ingo] => 1 [turba] => 1 [jonah] => 
1 [nag] => 1 [whups] => 1 [timeobjects] => 1 [kronolith] => 
Horde_LoginTasks_Tasklist Object ( [target] => [processed] => 1 
[_tasks:protected] => Array ( [0] => 
Kronolith_LoginTasks_Task_PurgeEvents Object ( [active] => 1 [display] 
=> 2 [interval] => 5 [priority] => 2 ) ) [_stasks:protected] => Array 
( ) [_ptr:protected] => 1 ) )


after the call:
Array ( [horde] => 1 [ansel] => 1 [ingo] => 1 [turba] => 1 [jonah] => 
1 [nag] => 1 [whups] => 1 [timeobjects] => 1 [kronolith] => 
Horde_LoginTasks_Tasklist Object ( [target] => [processed] => 1 
[_tasks:protected] => Array ( [0] => 
Kronolith_LoginTasks_Task_PurgeEvents Object ( [active] => 1 [display] 
=> 2 [interval] => 5 [priority] => 2 ) ) [_stasks:protected] => Array 
( ) [_ptr:protected] => 0 ) )
10/18/2010 09:34:30 PM Michael Slusarz Comment #2 Reply to this comment
I don't see this.

Output of the session variables holding the logintasks data would be 
useful.  Can be obtained via:
print_r($GLOBALS['session']['horde:logintasks/']);
10/17/2010 08:50:43 PM Michael Rubinsky Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ Cannot get past login tasks
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Either skipping or attempting to run a login task will result in 
reloading the login task confirmation screen. i.e. you can't get past 
this screen. No errors in log. Related horde log entries below:

2010-10-17T16:46:16-04:00 NOTICE: HORDE [imp] Login success  for mike 
[127.0.0.1] to {prod.theupstairsroom.com:993} [pid 180 on line 168 of 
"/usr/local/horde/horde/imp/lib/Auth.php"]
2010-10-17T16:46:16-04:00 DEBUG: HORDE [imp] Horde_Prefs: Storing 
preference value (last_logintasks) [pid 180 on line 342 of 
"/usr/local/horde/horde/framework/Prefs/lib/Horde/Prefs.php"]
2010-10-17T16:46:16-04:00 DEBUG: HORDE [imp] Max memory usage: 5767168 
bytes [pid 180 on line 433 of 
"/usr/local/horde/horde/framework/Core/lib/Horde/Registry.php"]
2010-10-17T16:46:16-04:00 DEBUG: HORDE [imp] SQL  (0.0003s)
        SELECT 1 FROM horde_prefs WHERE pref_uid = 'mike' AND pref_name =
          'last_logintasks' AND pref_scope = 'horde' [pid 180 on line 761 of 
"/usr/local/horde/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"]
2010-10-17T16:46:16-04:00 DEBUG: HORDE [imp] SQL  (0.0006s)
        UPDATE horde_prefs SET pref_value =
          'a:8:{s:5:\"_once\";a:10:{i:0;s:45:\"Turba_LoginTasks_SystemTask_Upgra
          deFromTurba2\";i:1;s:40:\"Turba_LoginTasks_SystemTask_UpgradePrefs\";i
          :2;s:45:\"turba_LoginTasks_SystemTask_UpgradeFromTurba2\";i:3;s:40:\"t
          urba_LoginTasks_SystemTask_UpgradePrefs\";i:4;s:45:\"horde_LoginTasks_
          SystemTask_UpgradeFromHorde3\";i:5;s:41:\"imp_LoginTasks_SystemTask_Up
          gradeFromImp4\";i:6;s:45:\"whups_LoginTasks_SystemTask_UpgradeFromWhup
          s1\";i:7;s:53:\"kronolith_LoginTasks_SystemTask_UpgradeFromKronolith2\
          ";i:8;s:40:\"turba_LoginTasks_SystemTask_UpgradeLists\";i:9;s:45:\"imp
          _LoginTasks_SystemTask_UpgradeFromImp4Auth\";}s:5:\"horde\";i:12873480
          64;s:5:\"ansel\";i:1287348064;s:5:\"whups\";i:1287098470;s:3:\"imp\";i
          :1287348376;s:5:\"mnemo\";i:1285516121;s:5:\"chora\";i:1286929387;s:6:
          \"wicked\";i:1287098099;}' WHERE pref_uid = 'mike' AND pref_name =
          'last_logintasks' AND pref_scope = 'horde' [pid 180 on line 761 of 
"/usr/local/horde/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"]

2010-10-17T16:46:17-04:00 DEBUG: HORDE [imp] Horde is ready to perform 
the tasks checked below. Check the box for any operation(s) you want 
to perform at this time. [pid 180 on line 27 of 
"/usr/local/horde/horde/framework/Core/lib/Horde/Core/Notification/Hordelog.php"]
2010-10-17T16:46:17-04:00 NOTICE: HORDE [imp] Login success  for mike 
[127.0.0.1] to {prod.theupstairsroom.com:993} [pid 180 on line 168 of 
"/usr/local/horde/horde/imp/lib/Auth.php"]

2010-10-17T16:46:17-04:00 DEBUG: HORDE [imp] Saved compiled template 
file for 
"/usr/local/horde/horde/horde/templates/logintasks/logintasks.html". 
[pid 180 on line 246 of 
"/usr/local/horde/horde/framework/Template/lib/Horde/Template.php"]
2010-10-17T16:46:17-04:00 DEBUG: HORDE [imp] Max memory usage: 
21233664 bytes [pid 180 on line 433 of 
"/usr/local/horde/horde/framework/Core/lib/Horde/Registry.php"]

Saved Queries