6.0.0-alpha12
6/12/25

[#9930] Alarms not updated when changing notification type
Summary Alarms not updated when changing notification type
Queue Kronolith
Queue Version 3.0
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester webhosting (at) instruform (dot) com
Created 04/19/2011 (5168 days ago)
Due
Updated 07/01/2011 (5095 days ago)
Assigned 04/19/2011 (5168 days ago)
Resolved 07/01/2011 (5095 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/01/2011 02:19:44 PM Jan Schneider Comment #4
Taken from Horde DevelopersHorde Developers
State ⇒ Not A Bug
Reply to this comment
Works fine here. If I change the alarm method preference, current 
events have their alarm methods changed too.
04/20/2011 11:50:28 PM webhosting (at) instruform (dot) com Comment #3 Reply to this comment
Hi Jan

The TTL ($conf['alarms']['params']['ttl']) is set to 300 seconds. The 
non-updated events have been persistent for many days in the database 
and are not updated.

The TTL event therefore is either not functioning correctly or is not 
implemented in the way you describe.
Regards
Mark
04/19/2011 04:53:43 PM Jan Schneider Comment #2
Assigned to Horde DevelopersHorde Developers
Version ⇒ 3.0
Priority ⇒ 1. Low
State ⇒ Assigned
Reply to this comment
This is nice to have, but the events are updated after the TTL anyway, 
so this is really only a short timestamp while the alarm methods are 
incorrect.
04/19/2011 04:50:11 PM Jan Schneider Version ⇒
Queue ⇒ Kronolith
 
04/19/2011 06:30:03 AM webhosting (at) instruform (dot) com Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Alarms not updated when changing notification type
Type ⇒ Bug
Reply to this comment
Alarms that are already set in a user's calendar are not updated when 
a new method of notification is chosen in the preferences for a user. 
For example, if notify by inline method is changed to email.

This is apparent when looking at the horde_alarms->alarm_params field 
for a pre-existing event, which still shows a notify-type alarm:
a:1:{s:6:"notify";a:1:{s:4:"show";a:3:{s:5:"__app";s:9:"kronolith";s:5:"event";s:32:"04d3e641680242abceb6b50147501ab2";s:8:"calendar";s:32:"2b0fbd8a792cacfcfd0773bbdfede050";}}}
Whereas a new kronolith calendar entry with an alarm will correctly 
set an email event:
a:1:{s:4:"mail";a:3:{s:6:"__desc";s:0:"";s:5:"email";s:18:"test@example.com";s:4:"body";s:103:"We would like to remind you of this upcoming 
event.

test

Location:

Date: 2011-04-19
Time: 04:10pm

";}}

As there is no mechanism that we are aware of to bulk-change the 
user's existing alarms other than re-creating all of them manually, 
this appears to be a bug in the system. If a user changes their 
notification from one type to another, Horde should automatically 
update the user's reminders to the chosen type.

Saved Queries