Issue Description
Calendar defaults appear to be copied into an event’s stored iCalendar when an event with useDefaultAlerts: true is written.
Changing defaultAlertsWithTime/defaultAlertsWithoutTime later updates the calendar preferences, but does not update existing events, so their CalDAV VALARMs can become stale.
Expected Behavior
Events with useDefaultAlerts: true should reflect the calendar’s current default alerts.
Actual Behavior
An event can continue exposing the old materialized default through CalDAV after the calendar default has changed.
Reproduction Steps
- Set a calendar default alert for 10 minutes before.
- Create an event with
useDefaultAlerts: true. - Confirm CalDAV exposes a 10-minute
VALARM. - Change the calendar default to 20 minutes before.
- Fetch the event again through CalDAV.
- Observe that it still exposes the old 10-minute alarm.
Relevant Log Output
N/A
Stalwart Version
v0.16.x
Installation Method
Built from source
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on