Skip to content

fix(dav): detect truncated CardDAV sync results on all databases - #65939

Merged
kesselb merged 1 commit into
masterfrom
fix/caldav-sync-token-results
Oct 29, 2026
Merged

kesselb merged 1 commit into
masterfrom
fix/caldav-sync-token-results

Conversation

@SebastianKrupinski

@SebastianKrupinski SebastianKrupinski commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor
  • Resolves: # Client Ticket

Summary

  • Resolves: # Client Ticket
  • The fix only changes behaviour on SQLite and Oracle. MySQL/MariaDB and PostgreSQL were already counting correctly.
    On SQLite and Oracle, 0 === $limit is never true, so an incremental result is never marked as truncated. The server then returns the current sync token. The client accepts it and permanently skips every change after the first 2,500.
    This happens on the remote side, the server answering the sync request. So it affects anyone syncing from a SQLite or Oracle instance,

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
@SebastianKrupinski
SebastianKrupinski force-pushed the fix/caldav-sync-token-results branch from 06e902d to c961634 Compare October 26, 2026 16:17
@SebastianKrupinski

Copy link
Copy Markdown
Contributor Author

/backport to stable35

@SebastianKrupinski

Copy link
Copy Markdown
Contributor Author

/backport to stable34

@SebastianKrupinski

Copy link
Copy Markdown
Contributor Author

/backport to stable33

@SebastianKrupinski SebastianKrupinski changed the title Fix/caldav sync token results fix(dav): detect truncated CardDAV sync results on all databases Oct 26, 2026
@kesselb
kesselb merged commit e298ae1 into master Oct 29, 2026
155 of 161 checks passed
@kesselb
kesselb deleted the fix/caldav-sync-token-results branch October 29, 2026 15:10
@github-project-automation github-project-automation Bot moved this from 🏗️ In progress to ☑️ Done in 💌 📅 👥 Groupware team Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

3 participants