[Bug 244153] New: Moved addresses are not stored in vcf file until they are modified

Thomas Bleher bleher at informatik.uni-muenchen.de
Sat Jul 10 19:11:02 BST 2010


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

           Summary: Moved addresses are not stored in vcf file until they
                    are modified
           Product: kaddressbook
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: bleher at informatik.uni-muenchen.de
                CC: tokoe at kde.org


Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

When addresses are moved between address books, they are not stored in the
backing file immediately. Only after the address is edited (even without any
change) does the address get saved (it always saved to the database, but not to
the real file)

Background story:
I recently switched from KDE 3.5.9 to KDE 4.4.4 (by moving from Debian Lenny to
Debian Squeeze); my addresses from ~/.kde/share/apps/kabc/std.vcf were
correctly imported, but updates were not written to the vcf file, only to the
mysql DB (i.e. updates were visible in kaddressbook, even after a restart, but
the vcf file was never touched).
Trying to solve this, I created a new address book (also as a vcf file, under
~/.local/share/contacts.vcf). I moved all addresses to the new adressbook using
kaddressbook. This also worked, but the file remained empty. Surprisingly, new
addressses were immediately visible in the file! Also, entries were stored in
the vcf file after I opened them to edit them and immediately clicked "Save".

However, this is very unsatisfying, because I have several command line tools
which read the vcard file directly, so I need to have it up-to-date. And
manually saving 600+ contacts is quite tedious.

Reproducible: Always

Steps to Reproduce:
* Create two address books, both backed by a vcf file (no read-only mode set)
* Create two contacts, one in each address book
* Move the first contact from the first to the second address book


Actual Results:  
* The vcf file that backs the second address book contains only one address,
the one that was added directly

Expected Results:  
* Both addresses should be visible in the address book

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list