Bug 439502

Summary: "Add Folder" on a CalDAV server does not issue MKCOL
Product: [Frameworks and Libraries] Akonadi Reporter: wjb
Component: DAV ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: gjditchfield
Priority: NOR    
Version: 5.17.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

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