Bug 241741

Summary: deskutils/kdepim-runtime: Can no longer synchronize calendars with Nextcloud
Product: Ports & Packages Reporter: Greg Rivers <gcr>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed FIXED    
Severity: Affects Only Me CC: tcberner
Priority: --- Flags: tcberner: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   

Description Greg Rivers 2019-11-05 19:00:55 UTC
Since the latest update (19.08.2), the akonadi_davgroupware_resource fails to synchronize calendars with Nextcloud. Apache on the Nextcloud server logs "400 Bad Request":

xxxxx.xxxxxxx.xxx xxxx:xxxx:xxxx:xxxx:b531:a31b:c199:4ccb - gcr [05/Nov/2019:12:07:28 -0600] "REPORT /remote.php/dav/calendars/gcr/xxxxx/ HTTP/1.1" 400 276 "-" "Mozilla/5.0 (X11; FreeBSD amd64) AppleWebKit/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_10/5.12.2 Safari/534.34"

And the Nextcloud log shows:

[webdav] Fatal: Sabre\DAV\Exception\BadRequest: A calendar-query REPORT on a calendar with a Depth: 0 is undefined. Set Depth to 1 at <<closure>>
Comment 1 Greg Rivers 2019-11-08 02:54:58 UTC
After a lot more digging, it appears that this may be fixed by <https://bugs.kde.org/show_bug.cgi?id=413316>. Any idea when this might hit the pkg repo?
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2019-11-08 08:06:19 UTC
Soon :)
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-11-08 08:13:50 UTC
A commit references this bug:

Author: tcberner
Date: Fri Nov  8 08:13:41 UTC 2019
New revision: 517033
URL: https://svnweb.freebsd.org/changeset/ports/517033

Log:
  devel/kf5-kio: add upstream patch for nextcloud calendar support.

  Upstream PR:
  	https://bugs.kde.org/show_bug.cgi?id=413316

  PR:		241741
  Reported by:	Greg Rivers <gcr@tharned.org>

Changes:
  head/devel/kf5-kio/Makefile
  head/devel/kf5-kio/files/
  head/devel/kf5-kio/files/patch-git_02a8d3d
Comment 4 Raphael Kubo da Costa freebsd_committer freebsd_triage 2019-11-08 19:24:23 UTC
This should be fixed, feel free to reopen if the issue persists.