nextcloud / nextcloud/integration_davc

Unable to set DAVc calendar as default

Open
#122 2 comments 2 reactions 0 assignees View on GitHub

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
  1. Connect to an external CalDav provider through Dav Connector
  2. Enable a calendar in the list (let's say "Calendar 1")
  3. Open Calendar settings
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.