Error while suppressing agenda for users whom accounts are deleted

Hi (again),

When we try to suppress some shared agenda of people who are no longer in the structure (and have their nextcloud account deleted), we obtain the message " “Une erreur est survenue, impossible de supprimer l’agenda”.
And of course, the calendar is not deleted from my shared calendar.

Config informations

Nextcloud version (eg, 20.0.5): 24.0.5
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 11 (bullseye)
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0
PHP version (eg, 7.4): 7.4.30

Any tips ?


And it’s also (some times) impossible to delete an invitation sent to a person who doesn’t have any account now…

There is an open issue here : Unable to unshare a calendar that was shared with you by another person · Issue #2702 · nextcloud/calendar · GitHub