-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
2. developingWork in progressWork in progress25-feedbackbugfeature: caldavRelated to CalDAV internalsRelated to CalDAV internalsfeature: davintegration
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Use
\OC\Calendar\Manager::getCalendarsForPrincipalwith an empty array of calendar URIs (search all)
- -> Get a full list of owned and shared calendars
- Use
\OC\Calendar\Manager::getCalendarsForPrincipalto load one of those owned calenars
- -> Get that calendar object
- Use
\OC\Calendar\Manager::getCalendarsForPrincipalto load one of the shared calendars
Expected 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 the shared_by parts or apply another trick to detect that an URI represents a shared calendar.
bentuna
Metadata
Metadata
Assignees
Labels
2. developingWork in progressWork in progress25-feedbackbugfeature: caldavRelated to CalDAV internalsRelated to CalDAV internalsfeature: davintegration
Type
Projects
Status
☑️ Done