Bug 243485 - Data loss when creating new address book
Summary: Data loss when creating new address book
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-03 10:26 UTC by Rolf Eike Beer
Modified: 2010-09-16 18:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer 2010-07-03 10:26:35 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I have one address book stored in Vcard format from ancient times. Now I decided to move a bunch of contacts out there to it's own address book (akonadi managed VCard folder). I selected a folder and left everything alone. Then I began moving a bunch of contacts in there. Some time later my computer froze so I had to powercycle it. Afterwards all contacts were gone: they were deleted from the old address book and the new one is empty.

Some other observations:
-it looks like I can set an autosave delay when creating such a resource, default for the new test folder I created now was 5 minutes. I'm rather sure the computer was up more than 5 minutes after I added the first contacts to that address book so at least something should have been autosaved
-these tuning page is not accessible from the properties of my new address book now that it's around, I don't know if this is intentional.
-the address book properties dialog always opens behind the kontact main window. There are no things like "always on top" set for the Kontact window.
-the address book shows the icon I chose for it. But it has lost like 3 times the name I gave it, it always shows again "Personal Contacts"

I just moved one other contact into that folder and waited for more than 5 minutes, shut down kontact, did "akonadictl stop". There is still nothing showing up on disk so I guess also this contact is "lost" (yes, I have backups of all of these and they are not that important).

Reproducible: Didn't try




OS: Linux (i686) release 2.6.31.5-0.1-desktop
Compiler: gcc
Comment 1 Tobias Koenig 2010-07-04 20:25:38 UTC
Can you try the 'Personal Contacts' resource please instead of the 'vCard folder' resource? Does this one work?

Ciao,
Tobias
Comment 2 Rolf Eike Beer 2010-07-04 20:46:48 UTC
Yes, there files show up in the directory.
Comment 3 Tobias Koenig 2010-09-16 17:04:07 UTC
Hej Rolf,

so everything works now for you?

Ciao,
Tobias
Comment 4 Rolf Eike Beer 2010-09-16 18:31:24 UTC
I tried again and now it works.