[Akonadi] [Bug 304647] CardDav data loss

Daniel Laidig laidig at kde.org
Tue Jan 8 21:34:48 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=304647

Daniel Laidig <laidig at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |CONFIRMED
                 CC|                            |laidig at kde.org
         Resolution|WORKSFORME                  |---
     Ever confirmed|0                           |1

--- Comment #2 from Daniel Laidig <laidig at kde.org> ---
I can confirm this bug (or at least something very similar) with KDE 4.9.4. To
reproduce this bug, try adding the attached .vcf as a VCF File address book and
copy the contact to the ownCloud address book.

The vcf contains a custom entry that contains an underscore which is not
allowed in the vcf specification. Kontact seems to ignore this, ownCloud
returns an error. After copying the contact to the ownCloud address book it is
added to the cache and shows up just fine in KAddressBook for a while. There
user does not get any error message at all and probably won't notice the loss
of data until it's way too late...

Akonadi Console shows:
AgentBase(akonadi_davgroupware_resource_0): Unable to add item: There was a
problem with the request. The item has not been created on the server. An
unexpected error (415) occurred while attempting to upload
https://[url]/apps/contacts/carddav.php/addressbooks/dani/archiv/uNQJBXZthD.vcf.
(415).

It's probably hard to prevent this error in all cases in the first place (and
I've also been getting some strange 412 errors that I can't reproduce) but at
least the error should be handled in a way that won't lead to unnoticed data
loss.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list