Calendar provider can not provide shared calendars #30068
Labels
1. to develop
Accepted and waiting to be taken care of
25-feedback
bug
feature: caldav
Related to CalDAV internals
feature: dav
integration
How to use GitHub
Steps to reproduce
\OC\Calendar\Manager::getCalendarsForPrincipal
with an empty array of calendar URIs (search all)\OC\Calendar\Manager::getCalendarsForPrincipal
to load one of those owned calenars\OC\Calendar\Manager::getCalendarsForPrincipal
to load one of the shared calendarsExpected behavior
Get the shared calendar object.
Actual behavior
Run into an error because the calendar isn't found
Server configuration
Nextcloud version: 23.0
\OCA\DAV\CalDAV\CalendarProvider::getCalendars
calls\OCA\DAV\CalDAV\CalDavBackend::getCalendarsForUser
and that doesn't work with shared URIs. We'll have to decode theshared_by
parts or apply another trick to detect that an URI represents a shared calendar.The text was updated successfully, but these errors were encountered: