User A create en event, and add two participants, B and C.
User B refuse the invitation, and delete the event, which ends up in its trash.
User C clic (for exemple) on "Accept" link in invitation mail, and get an HTTP 500 error (see my logs).
User B delete the event from its trash, then the user C can accept on decline the invitation, without error.
Expected behavior
User C should be able to accept (or decline) the invitation regardless of what user B does with this invitation/event (accept/decline/delete in trash, etc).
Actual behaviour
User C cannot accept (or decline) the invitation if user C put it in its trash on his side.
Calendar app version
3.5.4
CalDAV-clients used
nextcloud web interface
Browser
any
Client operating system
any
Server operating system
debian11
Web server
Apache
Database engine version
MariaDB
PHP engine version
PHP 8.0
Nextcloud version
24.0.9
Updated from an older installed version or fresh install
{"reqId":"4e09TevURbrwCZnVnGVc","level":3,"time":"2023-01-26T10:44:58+01:00","remoteAddr":"172.16.7.230","user":"XXXXX","app":"index","method":"GET","url":"/index.php/apps/dav/invitation/accept/xBDF8UryAnvkC0ibaNIS795RYEWH30YBQfkSuXyeOx000G1vTXwZeqR9ZpDP","message":"Deleted calendar object with uid already exists in this calendar collection.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.9.2","exception":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Deleted calendar object with uid already exists in this calendar collection.","Code":0,"Trace":[{"file":"/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Calendar.php","line":199,"function":"createCalendarObject","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->"},{"file":"/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php","line":525,"function":"createFile","class":"Sabre\\CalDAV\\Calendar","type":"->"},{"file":"/nextcloud/apps/dav/lib/CalDAV/Schedule/Plugin.php","line":176,"function":"scheduleLocalDelivery","class":"Sabre\\CalDAV\\Schedule\\Plugin","type":"->"},{"file":"/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"scheduleLocalDelivery","class":"OCA\\DAV\\CalDAV\\Schedule\\Plugin","type":"->"},{"file":"/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php","line":350,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php","line":627,"function":"deliver","class":"Sabre\\CalDAV\\Schedule\\Plugin","type":"->"},{"file":"/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php","line":535,"function":"processICalendarChange","class":"Sabre\\CalDAV\\Schedule\\Plugin","type":"->"},{"file":"/nextcloud/apps/dav/lib/CalDAV/Schedule/Plugin.php","line":176,"function":"scheduleLocalDelivery","class":"Sabre\\CalDAV\\Schedule\\Plugin","type":"->"},{"file":"/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"scheduleLocalDelivery","class":"OCA\\DAV\\CalDAV\\Schedule\\Plugin","type":"->"},{"file":"/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php","line":350,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php","line":627,"function":"deliver","class":"Sabre\\CalDAV\\Schedule\\Plugin","type":"->"},{"file":"/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php","line":535,"function":"processICalendarChange","class":"Sabre\\CalDAV\\Schedule\\Plugin","type":"->"},{"file":"/nextcloud/apps/dav/lib/CalDAV/Schedule/Plugin.php","line":176,"function":"scheduleLocalDelivery","class":"Sabre\\CalDAV\\Schedule\\Plugin","type":"->"},{"file":"/nextcloud/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php","line":124,"function":"scheduleLocalDelivery","class":"OCA\\DAV\\CalDAV\\Schedule\\Plugin","type":"->"},{"file":"/nextcloud/apps/dav/lib/Controller/InvitationResponseController.php","line":85,"function":"handleITipMessage","class":"OCA\\DAV\\CalDAV\\InvitationResponse\\InvitationResponseServer","type":"->"},{"file":"/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"accept","class":"OCA\\DAV\\Controller\\InvitationResponseController","type":"->"},{"file":"/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/nextcloud/lib/base.php","line":1030,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php","Line":1288,"CustomMessage":"--"}}
Steps to reproduce
Expected behavior
User C should be able to accept (or decline) the invitation regardless of what user B does with this invitation/event (accept/decline/delete in trash, etc).
Actual behaviour
User C cannot accept (or decline) the invitation if user C put it in its trash on his side.
Calendar app version
3.5.4
CalDAV-clients used
nextcloud web interface
Browser
any
Client operating system
any
Server operating system
debian11
Web server
Apache
Database engine version
MariaDB
PHP engine version
PHP 8.0
Nextcloud version
24.0.9
Updated from an older installed version or fresh install
Updated from an older version
List of activated apps
Nextcloud configuration
Web server error log
No response
Log file
Browser log
No response
Additional info
No response