Deleting a project breaks Caldav

As the title says - I use DavX5 and deleted a project (in the Vikunja web UI) that was previously synced.

Requests to refresh the list of collections in DavX5 now fail since Vikunja returns a HTTP 500 when the project is requested. I am not that familiar with the Webdav/Caldav Specs but I would assume a 404 would be more fitting here.
The requested URL/the log line is:

PROPFIND 500 /dav/projects/4/ 143.105819ms - DAVx5/4.4.6-ose (dav4jvm; okhttp/4.12.0) Android/14

If this Discourse is the wrong place, please direct me to the correct bug tracker. I wasn’t sure what to use since there’s both GitHub and Gitea.

Welcome :wave:

Do you see anything in the logs on your Vikunja server?

1 Like

Hey, more logs:

2025-02-03T17:35:24+01:00: WEB         ▶   PROPFIND 207 /dav/principals/my.user/ 143.025029ms - DAVx5/4.4.6-ose (dav4jvm; okhttp/4.12.0) Android/14
2025-02-03T17:35:24+01:00: WEB         ▶   PROPFIND 207 /dav/projects/ 147.564335ms - DAVx5/4.4.6-ose (dav4jvm; okhttp/4.12.0) Android/14
2025-02-03T17:35:24+01:00: WEB         ▶   PROPFIND 207 /dav/projects/ 151.638439ms - DAVx5/4.4.6-ose (dav4jvm; okhttp/4.12.0) Android/14
2025-02-03T17:35:24+01:00: WEB         ▶   PROPFIND 500 /dav/projects/4/ 149.232117ms - DAVx5/4.4.6-ose (dav4jvm; okhttp/4.12.0) Android/14

Also relevant info I forgot to mention: this is version 0.24.6

I have a fix ready, could you confirm @das_j on Gitea? :wink:

Aweseome, I’ve just enabled your account. Looking forward to the PR!

1 Like