nextcloud / nextcloud/integration_davc
Unable to set DAVc calendar as default
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 12
- Forks
- 2
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 16
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
- Connect to an external CalDav provider through Dav Connector
- Enable a calendar in the list (let's say "Calendar 1")
- Open Calendar settings
- Set "Calendar 1" as default for new events
Expected behaviour
The calendar should be set as default
Actual behaviour
The PROPPATCH request returns an error:
<s:exception>Sabre\DAV\Exception</s:exception>
<s:message>Property "{urn:ietf:params:xml:ns:caldav}schedule-default-calendar-URL" has an invalid value: No such calendar</s:message>
Server configuration
Web server: Apache
Database: PostgreSQL
PHP version: 8.3
Nextcloud version: 32.0.9
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the calendar settings flow in Dav Connector and reproduce the PROPPATCH request for an external CalDav calendar. Trace why the schedule-default-calendar-URL value is rejected as “No such calendar”; done means Calendar 1 can be selected as the default for new events without the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100