CalDAV sync-collection REPORT with empty sync-token returns no items #2784
Locked
silbox-ch
started this conversation in
Community Discussions
Replies: 1 comment
|
Based on the sample request you provided, emClient is not providing |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
When a CalDAV client performs an initial
sync-collectionREPORT (RFC 6578) with an emptysync-token(as required for initial synchronization), Stalwart returns only the collection itself instead of listing all calendar items. This breaks the initial sync for clients that prefersync-collectionovercalendar-query, such as eM Client.Steps to Reproduce
/dav/cal/user%40domain/default/sync-collectionREPORT with an empty sync-token:Expected Behavior
Per RFC 6578 §3.8:
The response should list all
.icsitems in the calendar with their etags.Actual Behavior
Stalwart returns only the collection itself (1
<D:response>) with the current sync-token, but no individual calendar items:The same calendar has 828 VEVENT items that are correctly returned via a
calendar-queryREPORT.Impact
sync-collectionas its primary sync mechanism. Since the initial sync returns 0 items, users see an empty calendar despite having hundreds of events. Contacts (CardDAV) work fine.sync-collectionovercalendar-querywill be affected.Environment
Related
All reactions