bitfireAT/icsx5

Default alert is not set for events with RECURRENCE-ID

Closed this issue · 1 comments

Discussed in #248

Originally posted by VS-X March 15, 2024
Hi, I noticed that some events do not have a default calendar alert I set in the app, even on version 2.2. After some investigation, RECURRENCE-ID seems to be the culprit. If I remove that line from the .ics file and import it in icsx5, then the alert is correctly set to 3 minutes.
Below is a sample event that reproduces for me:

BEGIN:VEVENT
UID:***
RECURRENCE-ID;TZID=FLE Standard Time:20240312T110000
SUMMARY:Test Event
DTSTART;TZID=FLE Standard Time:20240313T150000
DTEND;TZID=FLE Standard Time:20240313T160000
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20240315T091733Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:1
LOCATION:
END:VEVENT
```</div>

Turns out we were adding the default alarm only for the event itself, but not the exceptions. Fixed in #328