Issue Description
When CalendarEvent/get returns a server-expanded synthetic recurrence instance, explicitly requested recurrenceRule and recurrenceOverrides properties are omitted.
The JMAP Calendars draft requires these properties to:
“MUST be returned as null if requested for such an event.”
Expected Behavior
For a synthetic recurrence instance, explicitly requested recurrenceRule and recurrenceOverrides properties should both be present with a value of null.
Actual Behavior
Stalwart omits the requested properties entirely from the returned CalendarEvent.
Reproduction Steps
- Create a recurring CalendarEvent.
- Obtain a synthetic occurrence id using
CalendarEvent/querywithexpandRecurrences: true. - Fetch that id using
CalendarEvent/getand explicitly requestid,recurrenceRule, andrecurrenceOverrides. - Observe that
recurrenceRuleandrecurrenceOverridesare absent rather thannull.
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