Page MenuHomePhorge

Fix handling of alarms with "zero duration" (e.g. PT0S)
Closed, ResolvedPublic8 Story Points

Description

When adding an event with following alarm spec. in iRony:

BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:PT0S
DESCRIPTION:Default Mozilla Description
END:VALARM

it is then converted to:

BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DATE-TIME:19700101T000000Z
END:VALARM

Which means that alarm description is lost and the trigger is wrong.
Another story is if such alarms are handled/displayed correctly by other clients e.g. Roundcube. I'm afraid they might be handled as no-alarm.

OTRS#1012323

Details

Ticket Type
Task

Event Timeline

machniak raised the priority of this task from to 60.
machniak updated the task description. (Show Details)
machniak added a project: iRony.
machniak changed Ticket Type from Task to Task.
machniak subscribed.
grote added a project: Restricted Project.
  1. kolab-syncroton does not support Reminder=0 now, need to be fixed.
  2. There are issues in Roundcube UI. While you can set alarm to "0" when you visit the event again there are small glitches in the alarm description and edit field. The reminder message is not displayed.

BTW, when adding such event via Roundcube the TRIGGER is correctly saved as -PT0M. So, it looks that iRony/SabreDAV is doing something wrong here.

machniak edited a custom field.
machniak moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

I found it's libkolabxml issue, see T670. However, some code alignments and workarounds still needed in libkolab and libcalenaring plugins.

I'm unable to reproduce the initial issue in Kolab:Development. The TRIGGER property is not broken when importing ics using iRony and then exporting it there.

Also not reproducable with current KE14 - iRony DAV Server 0.2.8SabreSabre VObject 2.1.3.

machniak edited projects, added Roundcube Kolab Plugins ; removed iRony.

Fixed also some Kolab plugins issues. I consider this ticket issue fixed.

machniak moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Aug 5 2015, 12:14 PM