Summary: | Contact is not sync to DAV (owncloud) when I import VCF-file | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Eugen Albiker <eugen> |
Component: | DAV Resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kollix, martin+kde, thomas |
Priority: | NOR | ||
Version: | 4.12 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepim-runtime/509c99171995c78b7aae39ef73cf9d4209d704fd | Version Fixed In: | 4.14.1 |
Sentry Crash Report: | |||
Attachments: | testvcard.vcf |
Description
Eugen Albiker
2013-11-14 19:22:03 UTC
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 |