Hi, I am using: ii 4:4.11.3-0ubuntu0.1~ubuntu13.10~ppa amd64 I export a Google-contact from kaddressbook and get the file "testvcard.vcf" When I import this VCF into a DAV-Recource (owncloud) the Contact is never synced to Owncloud. But if i delete the UID line from the "testcard.vcf" and import the contact to the DAV-Resource, then the contact will be synchronised!! --> Correct This only happens if I import the contact into the DAV-Resource in kadressbook. More: If I Import the contact in owncloud ("with" OR "without" the UID), then the contact is synced to kadressbook, and I can edit it in kadressbook and it will be synced back to the owncloud-DAV-Recource. Need any more Info, then I will try to help. Greetings Eugen Reproducible: Always Steps to Reproduce: 1. Import the "testvcard.vcf" in Kadressbook Actual Results: Log into the webclient of "owncloud" and go to Contacts. The Contact will never be there Expected Results: Log into the webclient of "owncloud" and go to Contacts. The Contact will show up (and will be synced from Kadressbook) Content of the test-File "testvcard.vcf" - and yes: the Linefeed and " \" (Space+Backslash) in the filed "UID" is correct. This is exported from kadressbook out of a google-contact-resource. BEGIN:VCARD FN:Mustermann Jasmin N:Mustermann;Jasmin;;; NAME:Mustermann\\\, Jasmin TEL;TYPE=CELL:01787203722 UID:http://www.google.com/m8/feeds/contacts/tanarri75%40googlemail.com/base /4105ff60d891cad VERSION:3.0 X-GCALENDAR-GROUPMEMBERSHIPINFO:http://www.google.com/m8/feeds/groups/tanar ri75%40googlemail.com/base/6 END:VCARD
Created attachment 83566 [details] testvcard.vcf
Can reproduce with KDE 4.12.90 (4.13 beta)
Seems to be a problem of owncloud. I created a bug report there https://github.com/owncloud/contacts/issues/450
(In reply to comment #3) > Seems to be a problem of owncloud. > I created a bug report there https://github.com/owncloud/contacts/issues/450 This is because of the Akonadi resource not normalizing the URI. It sends a request like: PUT /remote.php/carddav/addressbooks/tanghus/contacts/http://www.google.com/m8/feeds/contacts/XXXXX@googlemail.com/base/4105ff60d891cad.vcf Which will of course fail because of the extra slashes in the principal URI.
But why Google couldn't just use a simple, unique identifier as adviced in the RFC is beyond my comprehension skills... https://tools.ietf.org/html/rfc2426#section-3.6.7 They're almost as bad as Apple in wanting to do it "My way or the highway"
Git commit 509c99171995c78b7aae39ef73cf9d4209d704fd by Grégory Oestreicher. Committed on 31/08/2014 at 21:41. Pushed by goestreicher into branch 'KDE/4.14'. Generate a unique ID for file names Based on a review submitted by Dan Vratil. FIXED-IN: 4.14.1 M +11 -12 resources/dav/common/davutils.cpp M +5 -0 resources/dav/common/davutils.h http://commits.kde.org/kdepim-runtime/509c99171995c78b7aae39ef73cf9d4209d704fd