-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care of32-feedbackbugfeature: caldavRelated to CalDAV internalsRelated to CalDAV internals
Description
Bug description
Importing an .ics file is not possible if an event with the same UID exists in the calendar trash bin. This issue is a regression from pull request #51924, caused by the unique index across calendarid, calendartype, and uid.
Steps to reproduce
- Import a calendar event into the calendar.
- Delete the event.
- Verify that the event is in the trash bin.
- Attempt to import the same .ics file again.
- 💥
Expected behavior
No error ;)
Nextcloud Server version
master
Additional info
Possible fixes:
- Extend the index to include the deleted_at column.
- Revert the calendar export changes and replace them with a simpler version for now (see discussion feat: Calendar Import #51925 (comment)).
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care of32-feedbackbugfeature: caldavRelated to CalDAV internalsRelated to CalDAV internals
Type
Projects
Status
🧭 Planning evaluation