Skip to content

fix(dav): delete properties of purged subscription events - #67068

Open
lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-67064-purge-subscription-props
Open

lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-67064-purge-subscription-props

Conversation

@lazerg

@lazerg lazerg commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

When a webcal refresh drops events that are gone from the feed, purgeCachedEventsForSubscription() deleted their calendarobjects_props rows by matching the calendar object ids against id (the property row key) instead of objectid. So the properties of purged events were left behind, and feeds that change UIDs on every export pile up orphaned rows on each refresh. The delete now filters on objectid.

Checklist

AI (if applicable)

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

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: lazerg <lazerg2@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Webcal subscription refresh never deletes calendarobjects_props rows of purged events (filters on id instead of objectid)

1 participant