Bug 188391

Summary: Akonadi looses GroupDAV contacts
Product: [Frameworks and Libraries] Akonadi Reporter: Andreas Kuhl <mail>
Component: KResource compat bridgesAssignee: Kevin Krammer <krammer>
Status: RESOLVED WORKSFORME    
Severity: normal CC: MurzNN, tuju, vkrause
Priority: NOR    
Version: 4.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Andreas Kuhl 2009-03-29 12:14:58 UTC
Version:            (using KDE 4.2.1)
Installed from:    SuSE RPMs

KDE 4.2.1, Kontact 4.2.1

I added a classic KDE addressbook to Akonadi with the GroupDAV connector. The contacts are synched with eGroupWare 1.6. This works fine on the initial creation of the addressbook and KAddressbook shows all contacts retrieved from eGroupWare via GroupDAV.

But after some time (reboots, standby and resume), the addressbook is empty. The contacts are still available in eGroupWare but Akonadi no longer shows them.

The following error shows on bash while creating the GroupDAV addressbook:

---
[/usr/bin/akonadi_kabc_resource] akonadi_kabc_resource_14(12965)/kdepimlibs (kcal): Cannot read uid map file ' "/home/ademmer/.kde4/share/apps/kabc/uidmaps/groupdav_h6pudD4RbR" '
---

Restarting the Akonadi server after the contacts are no longer visitble throws the following error on bash:

---
[/usr/bin/akonadi_kabc_resource] akonadi_kabc_resource_13(12887): job failed: "The file or folder netpda.de does not exist."
---
(netpda.de is the base URL of my eGroupWare installation)

Any hints?
Comment 1 Andreas Kuhl 2009-03-30 17:56:58 UTC
I accessed eGroupWare via the webdav kioslave to verify, that the vcf files have valid UIDs. The UID seems to be ok, a sample contact reads as following:

---

BEGIN:VCARD
VERSION:2.1
N:Zimmer;Kai;;;
FN:Kai Zimmer
ORG:
TEL;CELL;WORK:00491713736711
UID:addressbook-545-2fa09a3c7faf059dcdadd25c8c8753ca
END:VCARD
Comment 2 Andreas Kuhl 2009-05-12 09:18:33 UTC
Problem still persists with KDE 4.2.3
Comment 3 Murz 2009-05-25 15:27:12 UTC
Same problem on the KDE 4.2.3 from Kubuntu Jaunty and eGroupWare 1.6.001.
Kontact, connected directly to eGroupWare GroupDav server, works normally. Bug is near Akonadi server.
Comment 4 Andreas Kuhl 2009-11-26 13:52:50 UTC
Seems to work now in KDE 4.3.3. Can anyone confirm?
Comment 5 Murz 2009-11-26 18:12:15 UTC
I have no using groupdav now, because I switch from egroupware to opengoo.
And now on Kubuntu Karmic I didn't see anymore fields with GroupDav in Akonadi Resources Configuration, I see it only in Kontact Address Books.