wrong display name in mailing list and address book if several persons have the same mail address in a mailing list

NEW
Unassigned

Status

MailNews Core
Address Book
P2
critical
15 years ago
2 years ago

People

(Reporter: Stefan A. Möller, Unassigned)

Tracking

(Blocks: 2 bugs, {dataloss})

Trunk
dataloss
Dependency tree / graph
Bug Flags:
blocking-thunderbird3 -
wanted-thunderbird3 +

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212

If you have several address book cards with the same mail address but different
names, the wrong name may appear in a mailing list.

Reproducible: Always

Steps to Reproduce:
1. Add two new cards to your address book - with different names but the same
e-mail address, e.g. first "George Bush", foo@bar.gov and then "Saddam Hussein",
foo@bar.gov
2. Create a new mailing list and add "George Bush" to that list
3. Close the mailing list and open it again

Actual Results:  
Mailing list entry reads: "Saddam Hussein"

Expected Results:  
Should be "George Bush"

Comment 1

14 years ago
WFM with Thunderbird 0.2 and Windows XP.

Stefan Möller: can you still reproduce this bug?
(Reporter)

Comment 2

14 years ago
> can you still reproduce this bug?

Yes. Actually with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b)
Gecko/20030827 it's not always reproducible.
Now I've created several persons in my address book, all of them with an
identical mail address. Then I drag'n'drop one of them into an empty mailing
list. Results vary: Sometimes it works as intended, sometimes the person gets
renamed in the mailing list, sometimes the person gets renamed in the mailing
list *and* the address book, sometimes the mailing list remains empty.
Product: Browser → Seamonkey

Comment 3

12 years ago
Reproducible with SeaMonkey/20050828, most of the time the display name of the
last added card (with the same e-mail address) gets changed in the address book.

Comment 4

12 years ago
Reproducible in Thunderbird 1.5 Beta 1 (20050908). 
Obviously mailing lists don't allow for different display names for the same email address, whereas address books do.
The strange situation can occur, that in the normal view with a mailing list selected in the left pane, in the upper right rectangle, there is another name as in the mailing list properties window.
Proposition: allow for different names to the same email address in both mailing lists and address books, or in none.

Comment 5

12 years ago
(In reply to comment #3)
> Reproducible with SeaMonkey/20050828, most of the time the display name of the
> last added card (with the same e-mail address) gets changed in the address book.

Aggree with this. Seamonkey 1.0 aplha.

Comment 6

12 years ago
yup.
Assignee: racham → nobody
Severity: normal → critical
Component: Address Book → MailNews: Address Book
Keywords: dataloss
OS: Windows 2000 → All
Product: Mozilla Application Suite → Core
QA Contact: nbaca → addressbook
Hardware: PC → All
Summary: wrong display name in mailing list if several persons have the same mail address → wrong display name in mailing list and address book if several persons have the same mail address in a mailing list
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 7

12 years ago
*** Bug 236890 has been marked as a duplicate of this bug. ***

Comment 8

12 years ago
*** Bug 331101 has been marked as a duplicate of this bug. ***

Updated

12 years ago
Blocks: 318364

Comment 9

12 years ago
In an effort to get around this –

Sam Jones - everything else the same and
Barbara Jones - Everything else as Sam

since both cannot be placed in a list, a new entry was created --

Sam and Barbara Jones and this was placed in the list.  I then got the bright idea to create a second list to but Barbara in.  I went back to the Sam and Barbara entry and attempted to change it back to Sam.  It appeared as SAM in the "list" but when the properties opened the card, it still contained Sam and Barbara as the First name.  This was then updated by hand.

When a person encounters this problem, a lot of time is lost trying to figure out what is NOT working properly.  A person not being aware of this issue will think they are placing names in a new list, only to find out that they are not there.  It is then necessary to figure out what was NOT placed there and come up with a strategy to deal with this.

Since this has been around for about 2 years, is there any expectation that it will be corrected? If so, when?  2006-04-30 (30 APR 2006)

Comment 10

12 years ago
In my previous comments, I failed to indicate --

OS-Xp Pro
Tbird - version 1.5.0.2 (20060308)

Comment 11

12 years ago
As far as I can see, the cause of this problem is that the mailing list stores only email addresses. These email addresses then access the address cards. If two cards have the same address there is obviously confusion. (One can easily see that the address books and mailing lists work this way by exporting an address book to and ldif file and then viewing it with a spreadsheet programme or text editor.)

I would propose that each address card be given a unique ID number, automatically generated and invisible to the user. The mailing list could then store this ID number rather than the email address and many problems would be solved. As far as I am aware, this is a standard method in database design.
*** Bug 340323 has been marked as a duplicate of this bug. ***

Comment 13

11 years ago
I'm seeing similar symptoms when trying to import an LDIF file.  The problem does not seem to exist in Mozilla 1.7.3.  Here is an LDIF file exported form Mozilla:

dn: cn=Tom Smith,mail=smith@domain.com
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: mozillaAbPersonObsolete
givenName: Tom
sn: Smith
cn: Tom Smith
mail: smith@domain.com
modifytimestamp: 0Z

dn: cn=Mary Smith,mail=smith@domain.com
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: mozillaAbPersonObsolete
givenName: Mary
sn: Smith
cn: Mary Smith
mail: smith@domain.com
modifytimestamp: 0Z

dn: cn=MailingList
objectclass: top
objectclass: groupOfNames
cn: MailingList
member: cn=Tom Smith,mail=smith@domain.com

Importing this file in Thunderbird 1.5.0.7 results in a mailing list that contains Mary Smith, not Tom Smith!  Probably the same bug, but the LDIF file provides a really quick way to reproduce it.

Murf

Comment 14

11 years ago
The problem exists for 2 years, but still not solved. Maybe, someone can give a hint, were the problem is rooted?

Bruce, generating a unique ID is not quite easy. I suppose, that "display name" + "email" are unique for each entry and should be used as a key. GUI should not allow the user to create addressbook entries with duplicate keys.

Updated

11 years ago
Duplicate of this bug: 380579

Comment 16

11 years ago
Since my bug (bug # 380579) entered 13 May 2007 is now marked as a duplicate of this bug and it appears that this bug is going on since at least 2003 (over FOUR years now) don't all of you Open Source Programmers think it is about time one of you come up with a fix for this. I use many lists and this bug screws them up all the time. At this rate, it will be Thunderbird Version 100 before this is ever fixed. Makes one start to think of other software solutions.

At least part of this bug is fixed, versions of Thunderbird prior to 2.0 also changed the cards in the main address book too. At least now the main address book entries are left in their original state as entered.

Will someone please let us all know when this bug will be fixed, IF IT IS EVER TO BE FIXED!

Comment 17

11 years ago
Thanks for you attention to this bug.

Steve Elzholz, Certified Informations Systems Auditor
Duplicate of this bug: 434227
Flags: wanted-thunderbird3.0a2?
Flags: blocking-thunderbird3?

Comment 19

10 years ago
(In reply to comment #18)
I have found that the statements that the main address book entries are untouched is not true for me.

- I enter a new card for Bob, who@foo.net
- I enter a new card for Joe, who@foo.net
- I look in the address book, and both entries are there and correct.
- I move Bob's card to my foobird list. Fine.
- I move Joe's card to my foobird list. Oops. The foobird list contains only one card, with Joe's first and last names but with Bob's display name.
- I look in the address book, and the entry for Joe has disappeared.  But I have two entries for Bob.

I have found a way around the problem.  It's a kludge, but it seems to work.

- I enter a new card for William, us@here.net
- I enter a new card for Mary, us2@here.net  Note the bogus address.
- I look in the address book, and both entries are there and correct.
- I move William's card to my couples list.  Fine.
- I move Mary's card to my couples list.  Fine.
- I change Mary's address to us@here.net.
- I look in the list, and both entries are there and correct.

I'm running v2.0.0.14 on WinxXP SP2. 

Flags: wanted-thunderbird3.0a2? → wanted-thunderbird3?
(Assignee)

Updated

9 years ago
Product: Core → MailNews Core

Updated

9 years ago
Flags: wanted-thunderbird3?
Flags: wanted-thunderbird3+
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3-

Comment 20

9 years ago
I'll leave this as wanted, but reworking our mailing list code is not going to happen for 3.0, I don't think, and I suspect that's required to fix this - Joshua, feel free to correct me if I'm wrong
Priority: -- → P2

Comment 21

9 years ago
putting in rc1
Target Milestone: --- → Thunderbird 3.0rc1
Duplicate of this bug: 455161

Comment 23

9 years ago
I submitted Bug 455161 today, which was immediately marked as a duplicate of this BUG, which has been around for several years.  The problem is understood, as only the email address is saved in the list.

Two new users will leave the fold if someone does not pick up this BUG and fix it.

Question is will open source work?  I would pick ip up if I knew how to code.
(In reply to comment #20)
> I'll leave this as wanted, but reworking our mailing list code is not going to
> happen for 3.0, I don't think, and I suspect that's required to fix this -
> Joshua, feel free to correct me if I'm wrong

Mailing lists are the black hole of the address book; my brief incursions imply that a full rework would not be necessary to fix this, but this is the area that I am weakest on.

In any case, I should be able to get some form of mailing list sanity finished by 3.0, provided the necessary nsIAbCollection stuff comes in first.

Updated

8 years ago
Duplicate of this bug: 539772

Updated

7 years ago
Depends on: 271570

Updated

7 years ago
Depends on: 444093
No longer depends on: 271570

Updated

6 years ago
Blocks: 541955
Blocks: 757736
Just find a user facing this problem on Geckozone: http://www.geckozone.org/forum/viewtopic.php?f=4&t=107288
Target Milestone: Thunderbird 3.0rc1 → ---

Comment 27

5 years ago
(In reply to caméléon from comment #26)
> Just find a user facing this problem on Geckozone:
> http://www.geckozone.org/forum/viewtopic.php?f=4&t=107288

Yep !
I am the author of the thread in Geckozone

As the list seems to be ordered by mail addresses, it seems difficult to fix it.
The rework of mailind lists would require using the contact's ID in address book (which is a Primary Key to the contact object) rather than use it's mail address which is only a contact's property.

Comment 28

5 years ago
Using Windows Vista, Thunderbird 17.0.4
This bug is still alive and kicking.
Steps produced:
Two people with same email address, (husband and wife) entered as two separate contacts in Personal Address Book. Success.
Create Mailing List. Success.
Drag and drop the two names into the Mailing List.
View Mailing List, shows only one person, the husband, but the contact details displayed in lower contact pane show the 'display name' name of the wife. Edit the contact details to show husband.
Still cannot add wife to Mailing list.
Delete husband from Mailing List.
Try to drag and drop to add each name again...will not add either name to Mailing list.
Try to add another name to Mailing List, success.
Retry to add either Husband or Wife using drag and drop, will not add to Mailing list. The name does not appear in the list.

Double click on the Mailing list to open.
Shows wife and other person - remember wife was not showing up in list viewed via Contacts Pane.
Remove wife.
Drag and Drop husband into Mailing List - this displayed correctly in Contact Pane.
Drag and Drop wife in Mailing list. Husbands name shows in Contact Pane with wife shown as display name below.

Select to Edit the Contact details:
shows first name of husband, surname ..same for both people. shows display name of Wife.
Double click on Mailing List to view added  names to see wife's name and email address, but husband not listed.
Retry to drag and drop husband fails.

double click on Mailing list and remove the wife name and email address. click on ok.
Delete both names from Mailing list then try to enter both via the manual method, successfully added first wife name and email address.
Try to add husband, but it will not offer the husband name in the drop down list with the same email address only a different email address (he is listed as another contact with different email address).
Accidentally added wife again. So I deleted the second name.
Now in the Contact Pane, the name has completely changed to show the first part of the email address, below in the contacts it still shows 'display name ' as wife. double click to open and edit, no name , no surname only display name of wife.
Right click on the incorrect partial email address of wife, select delete and nothing appears to happen, so refresh by selecting another address book and then reselecting mailing list and then husband name appears, but still has wrong display name.
double click on Mailing List to see wife name and email address.
right click and select to delete removes name from list.

In the Personal address Book both names are still separate and all details are correct.

Comment 29

5 years ago
This person also has same issue:
https://getsatisfaction.com/mozilla_messaging/topics/how_to_deal_with_2_different_people_with_the_same_e_mail_address

Comment 30

5 years ago
Case seNsitivity is the key for a workaround of this problem. The characters in the local part of email adresses should be case sensitive. The RFCs and Mozilla distinguishes between Alicebob.miller@hostname and aliceBob.miller@hostname. 

Fortunately for us most email providers neglect this rule and see both addresses as equal. So caPital letters can currently be used to keep mailing lists working.

Comment 31

5 years ago
There should be a reliable approach for person unique identification in address book, and email-only approach has proved to be wrong one. Case sensitivity also won't really work – looks like a hack. Also UI should warn the user when he tries to enter a duplicate entry.

Comment 32

5 years ago
A user of the french forum is having the same problem described by Anje.

It's very annoying but the derivative given by Hb is working : Changing the case of some caracters in email address allow to have differents entries in mailing list even if the adress in the same.

Because the simple user in not informed of the trick, we hope that some body can work on this problem.

The french forum subject : http://forums.mozfr.org/viewtopic.php?f=4&t=112311

Comment 33

5 years ago
Touchard: comment 19 workaround does the trick.

Comment 34

2 years ago
This bug survived 12 years now; comment 30 (case SenSitiVity) solves the issue as a quick and dirty fix. I do database exports into ldif - files, so it is rather awkward to modify email addresses depending on duplicate count - especially since you can not control wether a user has an email address already in his address book.

Comment 35

2 years ago
... I should have added some more details: Problem is reproducible on TB 38.4.0 on W7 Pro SP1 german versions.
You need to log in before you can comment on or make changes to this bug.