calcurse
calcurse copied to clipboard
Not properly formatted TRIGGER caused exceptions in other Caldav clients
Gentoo, calcurse-4.8.1.
Description. Synchronizing an event with a notification from calcurse to Baikal and then to DAVx5 or Mercury Calendar (KDE) causes an exception in DAVx5 and the absence of this event in the Android calendar, and Mercury Calendar (KDE) simply does not show this event.
Reproduce.
- Create an event in calcurse-4.8.1.
- Flag them in calcurse with ! hotkey (for alarm enable).
- Sync this calendar with baikal with calcurse-caldav.
- Sync android with DAVx5.
- Get exception. No this event in calendar in Android at all.
Expected Behavior. That the issue comes from the TRIGGER of the event's alarm, which isn't well formatted. The issue here is that we are specifying seconds (S suffix), and as stated in the documentation:
The ASCII letter "T" must occur before the first occurrence, if any, of an hour, minute or second section.
So that is clearly missing the T, so the correct duration would be -PT5S (for example): trigger.patch.zip