Package: akonadi-server
Version: 4:24.12.3-1
Severity: normal
Tags: patch

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

akonadi do not connect to icloud carddav. even when providing the full carddav 
url, http error occurs.
same Error in forky.
According to  https://bugs.kde.org/show_bug.cgi?id=310210#c19 
This should be corrected by : 
https://invent.kde.org/frameworks/kdav/-/commit/ce2b60fd8d4f1de5a1de7f2dcc45f7e98177d8af

However I'm not sure how to patch locally for testing since  
src/protocols/carddavprotocol.cpp  is in libkf5dav5 but libkf5dav5 is not 
listed as 
akonadi dependence.
I how to proceed from here.

Best Regards
Xavier.



*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 13.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'stable-security')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-29-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages akonadi-server depends on:
ii  akonadi-backend-mysql                                  4:24.12.3-1
ii  akonadi-backend-postgresql                             4:24.12.3-1
ii  libaccounts-qt6-1                                      1.17-4+b1
ii  libc6                                                  2.41-12+deb13u1
ii  libgcc-s1                                              14.2.0-19
ii  libkf6configcore6                                      6.13.0-2
ii  libkf6coreaddons6                                      6.13.0-1
ii  libkf6crash6                                           6.13.0-1
ii  libkf6i18n6                                            6.13.0-1
ii  libkpim6akonadiprivate6 [libkpim6akonadiprivate6-24.1  4:24.12.3-1
    2]
ii  libkpim6akonadiwidgets6 [libkpim6akonadiwidgets6-24.1  4:24.12.3-1
    2]
ii  libqt6core6t64                                         6.8.2+dfsg-9+deb13u1
ii  libqt6dbus6                                            6.8.2+dfsg-9+deb13u1
ii  libqt6gui6                                             6.8.2+dfsg-9+deb13u1
ii  libqt6network6                                         6.8.2+dfsg-9+deb13u1
ii  libqt6sql6                                             6.8.2+dfsg-9+deb13u1
ii  libqt6widgets6                                         6.8.2+dfsg-9+deb13u1
ii  libqt6xml6                                             6.8.2+dfsg-9+deb13u1
ii  libstdc++6                                             14.2.0-19

akonadi-server recommends no packages.

Versions of packages akonadi-server suggests:
ii  akonadi-backend-mysql       4:24.12.3-1
ii  akonadi-backend-postgresql  4:24.12.3-1
pn  akonadi-backend-sqlite      <none>

-- no debconf information
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 kdav (1:5.116.0-1) unstable; urgency=medium
 .
   [ Aurélien COUDERC ]
   * New upstream release (5.116.0).
   * Update build-deps and deps with the info from cmake.
   * Bump Standards-Version to 4.7.2, no change required.
Author: AurĂ©lien COUDERC <[email protected]>

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2026-02-01

--- kdav-5.116.0.orig/src/protocols/carddavprotocol.cpp
+++ kdav-5.116.0/src/protocols/carddavprotocol.cpp
@@ -89,7 +89,9 @@ public:
         for (const QString &url : urls) {
             QDomElement hrefElement = 
document.createElementNS(QStringLiteral("DAV:"), QStringLiteral("href"));
             const QUrl pathUrl = QUrl::fromUserInput(url);
-            const QDomText textNode = 
document.createTextNode(pathUrl.toString());
+//           according to 
https://invent.kde.org/frameworks/kdav/-/commit/ce2b60fd8d4f1de5a1de7f2dcc45f7e98177d8af
+//            const QDomText textNode = 
document.createTextNode(pathUrl.toString());
+            const QDomText textNode = document.createTextNode(pathUrl.path());
             hrefElement.appendChild(textNode);
 
             multigetElement.appendChild(hrefElement);

Reply via email to