-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a calendar event is deleted, corresponding calendar_invitation entries are not deleted #12387
Comments
GitMate.io thinks possibly related issues are #4451 ("Delete Calendar" Issue), #11305 (Deleting contacts not necessarily delets birthday-entries in birthday calendar), #10864 (Automatically delete old calendar events), #1506 (Birthday events created while importing contacts should be deleted if addressbook containing the corresponding contact is deleted), and #11395 (Deleting an addressbook does not seem to delete its birthday calendar entries). |
So I'm not certain that it's a good idea to reference the calendar in |
Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you! |
Still a bug. I can confirm that in 25.0.2, when a calendar event is deleted, the calendar event now is moved to a trash bin (so the event object is not deleted, and the token does not refer to a deleted event uid). However, when the calendar trash is emptied, and the deleted calendar object is removed from the database, the calendar_invitation referring to that calendar object is not cleaned up, and is left dangling (its uid now refers to a nonexistant id). Site Note: installations that have |
Tested on version 30-dev. Confirmed. Tested with internal NC attendee: Tested with external attendee only: Issue 1: Issue 2: Solution 1: Solution 2: |
Related to nextcloud/calendar#6568 |
A note for minor cleanup.
When a calendarobject (a particular event) is deleted, any outstanding calendar_invitations for that event should be deleted as well. Currently, I believe they are left dangling until they expire at the end time of the (now deleted) event, if the event has one.
The text was updated successfully, but these errors were encountered: