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 | 06/02/2008 (6244 days ago) |
Due | |
Updated | 06/03/2008 (6243 days ago) |
Assigned | 06/03/2008 (6243 days ago) |
Resolved | 06/03/2008 (6243 days ago) |
Github Issue Link | |
Github Pull Request | |
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
State ⇒ Assigned
Queue ⇒ Horde Framework Packages
Version ⇒ HEAD
State ⇒ Feedback
Assigned to Chuck Hagenbuch
New Attachment: prefs.diff
necessary. Please try this patch for Prefs.php (in your lib/ or
framework/ directory) instead.
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Daily Agenda isn't sent after setting daily_agenda to read
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
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?