Bug 276041

Summary: copied contact groups are lost after akonadi/kontact restart
Product: [Applications] kaddressbook Reporter: S. Burmeister <sven.burmeister>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: major CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description S. Burmeister 2011-06-19 12:52:09 UTC
Version:           unspecified (using KDE 4.6.4) 
OS:                Linux

If I copy (drag and drop + CTRL) a contact group from one addressbook to another I can see it in the new addressbook and "open" it, i.e. see the contacts it contains.

However, if I check the address book's folder (.kde4/share/apps/kabc/stdvcf/) there is no new vcf file. After restarting akonadi/kontact the contact group is not in the address book anymore.

Moving the group does not create the vcf file in the address book's folder either but it seems to not forget about the group after a restart. Yet removing the agent for the address book loses that group which would not happen if a vcf file was created in the address book's folder.

Overall this leads to data loss.

Reproducible: Didn't try



Expected Results:  
Create a vcf file for contact groups when creating/copying/moving them within kaddressbook/kontact.
Comment 1 Anders Lund 2012-02-01 19:17:33 UTC
Curerent (KDE 4.8) KAddressbook does not allow you to drop groups on resources that does not support it. Vcf does not support groups, old versions of kaddressbook stored groups in the applcations data directory rather than with the contacts, so the current situation is an improvement. To use groups, create a contact resource of type "Personal Contacts" or other supporting groups storage.