Closed dysonsphere-startmail closed 2 years ago
This is very likely the same issue as in https://github.com/nextcloud/tasks/issues/1803 and should be fixable with something similar to https://github.com/nextcloud/tasks/pull/1873.
The reason is that there might be items in the trashbin for which the corresponding calendar has not been loaded yet (e.g. because it was just created or only allows to store tasks or similar). In such a case accessing properties of the calendar
will fail here and later:
https://github.com/nextcloud/calendar/blob/bb42cac7b974de0f182e7a0f22efac1221244eff/src/components/AppNavigation/CalendarList/Trashbin.vue#L174
Using vobject.calendar?.<prop>
instead of vobject.calendar.<prop>
will fix the symptom, loading all calendars before showing the trash bin solves the underlying problem.
Steps to reproduce
Expected behaviour
be presented with a list of deleted calendars and/or events
Actual behaviour
Trash Bin window appears with spinning circle and the text "Loading deleted elements."
Calendar app
Calendar app version: 3.0.5
CalDAV-clients used: DAVx5, Evolution
Client configuration
Browser: Firefox 96.0 (64-bit)
Operating system: Pop!_OS 21.10 x86_64
Server configuration
Operating system: Ubuntu 20.04.3 LTS x86_64
Web server: (Nginx
Database: MariaDB
PHP version: PHP 8.1.1 (cli) (built: Dec 31 2021 07:26:20) (NTS)
Nextcloud Version: 23.0.0
Updated from an older installed version or fresh install: Updated from 22.x.x
List of activated apps:
Nextcloud configuration:
Logs
Web server error log (e.g. /var/log/apache)
Log file (data/nextcloud.log)
Browser log