Summary | Daily Agenda isn't sent after setting daily_agenda to read |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | chuck (at) horde (dot) org |
Requester | 80602 (at) heygel (dot) ch |
Created | 2008-06-02 (4613 days ago) |
Due | |
Updated | 2008-06-03 (4612 days ago) |
Assigned | 2008-06-03 (4612 days ago) |
Resolved | 2008-06-03 (4612 days ago) |
Milestone | |
Patch | No |
State ⇒ Resolved
http://cvs.horde.org/diff.php/framework/Prefs/Prefs.php?r1=1.191&r2=1.192&ty=u
http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.1095&r2=1.1096&ty=u
Version ⇒ HEAD
Queue ⇒ Horde Framework Packages
State ⇒ Assigned
Assigned to Chuck Hagenbuch
State ⇒ Feedback
New Attachment: prefs.diff
necessary. Please try this patch for Prefs.php (in your lib/ or
framework/ directory) instead.
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 3. High
Summary ⇒ Daily Agenda isn't sent after setting daily_agenda to read
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
After some debugging I found, that in line 319 of
lib/Scheduler/kronolith.php the wrong user's preferences were loaded.
For each user in $users, the preferences of the *first* user in $users
were loaded.
After adding the three arguments '', NULL and FALSE to the call of
&Prefs::singleton in function agenda(), the problem was solved. The
updated line now looks like this:
$prefs = &Prefs::singleton($GLOBALS['conf']['prefs']['driver'],
'kronolith', $user, '', NULL, FALSE);
Was this a bug or is my horde system misconfigured?