Bug 260699

Summary: After deleting an address, new addresses are not stored correctly
Product: [Applications] kaddressbook Reporter: m.wege
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description m.wege 2010-12-19 13:45:22 UTC
Version:           unspecified
OS:                Linux

After deleting an address, new addresses are not stored correctly

Reproducible: Always

Steps to Reproduce:
1. Create an adressbook entry with an address "Dienstlich" (Bussiness)
2. Save address book entry
3. Edit this address book entry
4. Delete the address "Dienstlich" (Bussiness)
5. create a new address as "Private"


Actual Results:  
6. The private address ist not shown. If you edit it, its ok.
7. If you close the editing and reopen it, the "Dienstlich" entry" is back, now private entry.
I have tried a few times, there are some variations of this bug. E.g. in one of them the "dienstlich" address reappeared before saving.
When you do this procedure a second time with the same address book entry, appart from the behaviour mentioned in 6., the address is stored correctly.


OS: Linux (i686) release 2.6.37-7-generic-pae
Compiler: cc
Comment 1 m.wege 2010-12-19 13:58:16 UTC
Update on this. I get the impression that the reason for this bug may have something to do with the fact that it takes some time for Kaddressbook to write back the changes and that this bug may partly being a result of editing something where the changes have not or only partly been writen back. On another occassion I just received that kind of message that the entry has been changed and Kaddressbook asked me what to do (use/ discard the changes). I do not know if this is the whole problem, but if this is the case (appart from speeding up the process) Kaddressbook then should prevent editing things which it changed itself but which where not written back completly.
Comment 2 Anders Lund 2012-02-01 17:19:53 UTC
This appears to be true for kaddressbook 4.8 as well. Redisplaying the contact (selecting another contact, then this one again) will display it correctly.