After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 211082 - conflicting contacts can not be merged
conflicting contacts can not be merged
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
2.8.x (obsolete)
Other All
: High major
: ---
Assigned To: Srinivasa Ragavan
Evolution QA team
: 200600 215464 319468 343503 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-09-27 13:33 UTC by Ross Burton
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
merge option added to the dialogue (3.67 KB, patch)
2006-07-27 08:40 UTC, ushveen kaur
rejected Details | Review
merge option added to the dialogue (4.72 KB, patch)
2006-07-28 04:30 UTC, ushveen kaur
needs-work Details | Review
resubmitted. (13.77 KB, patch)
2006-08-02 09:52 UTC, ushveen kaur
reviewed Details | Review
Resubmitting with all the rework mentioned by srini. (14.86 KB, patch)
2006-11-03 12:54 UTC, ushveen kaur
needs-work Details | Review
Resubmitting. (14.89 KB, patch)
2006-11-06 04:40 UTC, ushveen kaur
needs-work Details | Review

Description Ross Burton 2001-09-27 13:33:56 UTC
Say I have a contact called Fred with an email address of "fred@foo.com" in
the Contacts folder.  If I right-click on an email from Fred which came
from another email address, I enter the name "Fred" again and Evolution
says that a contact with that name already exists.  I think that I should
be able to merge the contacts somehow so that I have one contact with both
email addresses.
Comment 1 trow 2001-10-06 08:05:44 UTC
This already happens when you right-click on something with the same
name as an existing contact but with a different e-mail address.  It
should also happen when you enter the name of an existing contact by
hand.
Comment 2 André Klapper 2004-04-13 10:54:34 UTC
evo1.4.4-54 lets me "select an action" whether to "create a new
contact" or to "add address to existing contact". if i choose the last
one, i can merge. closing this one.
Comment 3 André Klapper 2004-04-14 13:20:15 UTC
*** bug 215464 has been marked as a duplicate of this bug. ***
Comment 4 Ross Burton 2004-12-22 13:07:01 UTC
(I really should have re-opened this earlier)

Say I have a contact in my address book, "Fred Bloggs".  I get an
email from him where the name is written "Dr Fred Bloggs", which has a
new email address.  I right-click on the name, select Add to
Addressbook.  Evo doesn't let me edit the existing contact as the
names are different, fair enough.  I change the name to "Fred Bloggs",
press Add, and Evolution says that there is already a contact with
this name, and I have to either add it as another contact or cancel
the operation.

Ideally at this point it would open the contact editor and let me add
the new data as I see fit.
Comment 5 Sushma Rai 2005-08-26 07:10:52 UTC

*** This bug has been marked as a duplicate of 270184 ***
Comment 6 Karsten Bräckelmann 2006-03-26 01:29:27 UTC
This is *not* a duplicate of bug 270184. This one is about broken "match contacts" option with *identical* names. I can confirm this. REOPENing.
Comment 7 Karsten Bräckelmann 2006-03-26 01:33:11 UTC
*** Bug 319468 has been marked as a duplicate of this bug. ***
Comment 8 Karsten Bräckelmann 2006-03-26 01:49:27 UTC
I can *fully* reproduce this bug.

Steps to reproduce this issue:
* Have a Contact "Name Surname" in your address book "Target".
* Right click the email address in the mail, chose Add to Address Book.
* Try adding it as "Name Surname" to the "Target" Address Book.

The "Duplicate Contact Detected" dialog states: "The name or email address of this contact already exists in this folder. Would you like to add it anyway?"

However, the options available are:
* Cancel: which will *not* add anything to the Address Book
* Add: which results in a *duplicate* Contact

There is *no* option to merge these Contacts.

a) You can not add a new email address to an existing Contact.
b) You can not add an email address to a Contact that doesn't have one yet.


It does not matter at all, wheather the Contacts name is modified in the Contact Quick-Add dialog or the very same as it appears in the email.

It does not matter at all, if the email you right-clicked in the first place happens to be in the mail header or the body.

It does not matter, which Address Book is chosen as the target.


Evolution 2.6.0.This is a REGRESSION.
Raising Priority and Severity. Setting usability keyword.
Comment 9 André Klapper 2006-05-31 16:06:57 UTC
*** Bug 343503 has been marked as a duplicate of this bug. ***
Comment 10 ushveen kaur 2006-07-27 08:40:53 UTC
Created attachment 69715 [details] [review]
merge option added to the dialogue
Comment 11 Karsten Bräckelmann 2006-07-27 16:22:34 UTC
gui/merging/eab-contact-duplicate-detected.glade part of the patch is missing.
Comment 12 ushveen kaur 2006-07-28 04:30:31 UTC
Created attachment 69782 [details] [review]
merge option added to the dialogue
Comment 13 Srinivasa Ragavan 2006-07-28 05:04:48 UTC
I guess we need a better merging dialog for all fields. Just email is not a solution. Ushveen you can design one  as per our discussion. Im marking this patch for more work,




Comment 14 ushveen kaur 2006-08-02 09:52:46 UTC
Created attachment 70062 [details] [review]
resubmitted.
Comment 15 Srinivasa Ragavan 2006-08-02 10:10:38 UTC
Sushma? Can you also review it?
Comment 16 Aredridel 2006-08-02 22:31:27 UTC
I'd love to see this happen, too. My contact list is a mess -- I need to merge a bunch of duplicates collected over years, from IM clients and from email.
Comment 17 Matthew Wire 2006-08-23 09:29:11 UTC
Not sure if this has been merged or not?  I'm using 2.7.92 and still seeing the same problem.  If I copy and paste a contact into the same addressbook I only get add/cancel options in the duplicate dialog box.
Comment 18 Srinivasa Ragavan 2006-08-23 09:49:33 UTC
Matthew, it breaks UI/STRING freeze. Cant commit to 2.8. Should be part of next release.
Comment 19 André Klapper 2006-08-23 10:15:23 UTC
always feel free to review and set to accepted-commit_after_freeze (i know you're busy, this is meant as a general hint)
Comment 20 Srinivasa Ragavan 2006-10-14 09:20:50 UTC
Ushveen, I see that the patch works well. Ofcourse it required some rework. I18n isnt taken care. Also few loops can be avoided. And few coding styles. Decl has to be in the beginning. Can u correct them. Also some code comments :)
Comment 21 ushveen kaur 2006-11-03 12:54:47 UTC
Created attachment 75928 [details] [review]
Resubmitting with all the rework mentioned by srini.
Comment 22 Srinivasa Ragavan 2006-11-05 16:26:12 UTC
The patch looks much better. Im still wondering where the dropdown data is freed?
Comment 23 André Klapper 2006-11-05 20:06:07 UTC
i dislike inline comments like these
      w = table->allocation.width + 30 /* Spacing around the table */;
which make the code harder to read, but i'm really looking forward to see this getting in for 2.9.x and am happy that somebody works on this.
Comment 24 ushveen kaur 2006-11-06 04:40:28 UTC
Created attachment 76064 [details] [review]
Resubmitting.
Comment 25 Evan Prodromou 2007-03-29 14:50:42 UTC
So, did this patch make it in for 2.9? It's really the main piece of functionality I need to make the Contacts manager useful.
Comment 26 Srinivasa Ragavan 2007-03-29 15:17:16 UTC
Evan, Ushveen's patch had a few issues which Ebby was working on. He finished his work last week. It is in target for 2.11.1. I will commit that for 2.11.1
Comment 27 Srinivasa Ragavan 2007-04-18 08:39:45 UTC
Committed to svn trunk. It works fine. I suspect it needs more testing. 
Comment 28 Matthew Barnes 2008-03-11 00:26:49 UTC
Bumping version to a stable release.
Comment 29 André Klapper 2009-06-18 16:43:26 UTC
*** Bug 200600 has been marked as a duplicate of this bug. ***
Comment 30 Milan Crha 2010-04-06 18:26:20 UTC
(In reply to comment #27)
> Committed to svn trunk. It works fine. I suspect it needs more testing.

This is supposed to be fixed for almost two years. I'm closing it, because trying steps from comment #8 offers me a Merge option.