Bug 59569

Summary: one of the contact entries is overwrite when two of them have to same name.
Product: [Applications] kpilot Reporter: Edwin Lau <try_email_me>
Component: GeneralAssignee: Reinhold Kainhofer <reinhold>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Edwin Lau 2003-06-09 20:38:37 UTC
Version:           4.3.10 (using KDE KDE 3.1.2)
Installed from:    Debian testing/unstable Packages
OS:          Linux

I have two different contacts which have the same name.  The content is different.  One with only a cell number and the other has a home number and an email.  After the hotsync, the contact that contents two entries now only as a cell number.  The home number and the email address is gone.
Comment 1 Reinhold Kainhofer 2003-06-17 22:48:38 UTC
Hi Edwin, 
Thanks for the bug report.

Well, this was a design decision I made some time ago: When a new record 
is "added" I need to search the addressbook if it doesn't already exist. This 
might be the case when syncing to two PCs. I add an address only if there is 
no similar entry in the addressbook to prevent lots of duplicates (believe me, 
I had this problem and removing several hundreds of duplicates is no fun at 
all...). Similar in this case means that the first name, the family name and 
the company match.

But you are probably right, we should allow having several records for the 
same person, but with different phone numbers (e.g. because PalmOS only allows 
5 phone number fields).


Reinhold
Comment 2 Reinhold Kainhofer 2003-07-30 00:59:00 UTC
Subject: kdepim/kpilot/conduits/abbrowserconduit

CVS commit by kainhofe: 

Allow two addressbook entries with the same name and organization, but different phones, addresses etc. Actually, it allows entries which are equal up to at least one entry. This fixes bug #59569. 

CCMAIL: 59569-done@bugs.kde.org


  M +85 -88    abbrowser-conduit.cc   1.79
  M +18 -5     abbrowser-conduit.h   1.40