Summary: | Some contacts from CardDAV Ressource do not appear in kaddressbook | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Ben <code> |
Component: | DAV Resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daniel, greg, jefaridas |
Priority: | NOR | ||
Version: | 1.13.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=350748 | ||
Latest Commit: | http://commits.kde.org/kdepim-runtime/09282b0489a5f84b6173e99daf24e3dc5540ae78 | Version Fixed In: | 15.08.1 |
Sentry Crash Report: |
Description
Ben
2015-08-23 16:11:56 UTC
And before you ask: I have seen https://bugs.kde.org/show_bug.cgi?id=350748 and the patch from https://github.com/owncloud/contacts/pull/987 as referenced in ownCloud issue 1004 https://github.com/owncloud/contacts/issues/1004 did not resolve this bug. Yup, confirmed indeed. *** Bug 351682 has been marked as a duplicate of this bug. *** *** Bug 351824 has been marked as a duplicate of this bug. *** Oops, it looks like I've been to quick merging those bugs. For this one (the UID of the contact containing a '@') the problem seems to come from ownCloud. The raw response replaces '@' with '%2540' so it's clearly double encoded. Here's a partial dump of an addressbook-query REPORT if that can help the OC devs fixing the problem: <d:response xmlns:d="DAV:"> <d:href xmlns:d="DAV:">/remote.php/carddav/addressbooks/greg/contacts/20140721T192733.4cc4ba55ef%2540url.of.my.server.de.vcf</d:href> <d:propstat xmlns:d="DAV:"> <d:prop xmlns:d="DAV:"> <d:resourcetype xmlns:d="DAV:"/> <d:getetag xmlns:d="DAV:">"bb67513c0c33c91f51e3337e381b9f77"</d:getetag> </d:prop> <d:status xmlns:d="DAV:">HTTP/1.1 200 OK</d:status> </d:propstat> <d:propstat xmlns:d="DAV:"> <d:prop xmlns:d="DAV:"> <d:displayname xmlns:d="DAV:"/> </d:prop> <d:status xmlns:d="DAV:">HTTP/1.1 404 Not Found</d:status> </d:propstat> </d:response> Found a bug that fits: https://github.com/owncloud/contacts/issues/998 ownCloud Contacts thinks that this is not a bug in ownCloud but in KDE (and Windows Phone) https://github.com/owncloud/contacts/issues/998#issuecomment-136251580 Is there another reason, why your PROPFIND yields a 404 but gvds's PROPFIND works fine? The 404 in the PROPFIND is simply here for the 'displayname' property. Looks like I'll reopen this, pending more investigation. So the resource has a fix pending (well, I stupidly developed it against master and not 15.08 so I have to backport it), but ownCloud has an issue still it seems. After the patch has been committed I'm not sure there's much more that can be done on KDE side, it'll be up to the ownCloud devs to fix the remaining problem :) Git commit 09282b0489a5f84b6173e99daf24e3dc5540ae78 by Grégory Oestreicher. Committed on 31/08/2015 at 20:35. Pushed by goestreicher into branch 'Applications/15.08'. Don't decode URLs found in responses FIXED-IN: 15.08.1 M +8 -3 resources/dav/protocols/caldavprotocol.cpp M +8 -3 resources/dav/protocols/carddavprotocol.cpp http://commits.kde.org/kdepim-runtime/09282b0489a5f84b6173e99daf24e3dc5540ae78 |