[Tickets #8226] Change notifications are not sent to owner
bugs at horde.org
bugs at horde.org
Tue Apr 28 17:35:01 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8226
------------------------------------------------------------------------------
Ticket | 8226
Created By | mail at pop2wap.net
Summary | Change notifications are not sent to owner
Queue | Kronolith
Version | 2.2
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
mail at pop2wap.net (2009-04-28 13:35) wrote:
Hi,
in the Kronolith options, when I set the option labeled with "Choose
if you want to be notified of new, edited, and deleted events by
email" to "On all shown calendars" or to "On all calendars I have read
access to", I'd expect to be notified when new events are created in a
calendar that I own myself. Unfortunately, this is not the case.
The cause for this is that some tests are wrong in the switch clause
in Kronolith.php:_notificationPref(...):
switch ($prefs->getValue('event_notification')) {
case 'owner':
return $mode == 'owner' ? $vals : false;
case 'read':
return $mode == 'read' ? $vals : false;
case 'show':
if ($mode == 'read') {
$display_calendars =
unserialize($prefs->getValue('display_cals'));
return in_array($calendar, $display_calendars) ?
$vals : false;
}
}
In cases 'read' and 'show', $mode should also be allowed to be 'owner'.
More information about the bugs
mailing list