Bug 439502 - "Add Folder" on a CalDAV server does not issue MKCOL
Summary: "Add Folder" on a CalDAV server does not issue MKCOL
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 5.17.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-05 05:55 UTC by wjb
Modified: 2021-07-05 18:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wjb 2021-07-05 05:55:34 UTC
SUMMARY

In the calendar list, I expected the right click, "add folder" action on a CalDAV Calendar to create a new calendar, issuing a MKCOL request to the CalDAV server. Instead, a local "folder" appears to be created, listed under the CalDAV Calendar. However, no new collection is created on the CalDAV server, and so events added to the folder are not synchronized.

STEPS TO REPRODUCE
1. Add a CalDAV calendar by using "Add Calendar", and "DAV groupware resource"
2. In the calendar list, right click on the CalDAV calendar and click "add folder
3. Enter a name for the calendar, such as "Test".
4. Issue a PROPFIND to get all calendars on the CalDAV server, such as by using the following script.
```
curl  -X "PROPFIND"  --basic --user "user:password" "https://caldav.example.com/user/" -H "Depth: 1" -d '<propfind xmlns=\'DAV:\'><allprop/></propfind>' | grep displayname
```

OBSERVED RESULT
The calendar we created in Korganizer is not found on the server.


EXPECTED RESULT
A new calendar with displayname "Test" should be found during the PROPFIND request.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.11.22-2-MANJARO
KDE Plasma Version:  5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION