Can't drag a mailing list to compose window from contacts bar

RESOLVED FIXED in Thunderbird0.6

Status

RESOLVED FIXED
15 years ago
14 years ago

People

(Reporter: mscott, Assigned: mscott)

Tracking

unspecified
Thunderbird0.6
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

15 years ago
it ends up appending the default domain and not treating it like a real mailing
list.
(Assignee)

Updated

15 years ago
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.6
(Assignee)

Comment 1

15 years ago
Created attachment 145521 [details] [diff] [review]
the fix

GenerateAddressFromCard:
http://lxr.mozilla.org/mozilla/source/mailnews/addrbook/resources/content/abCommon.js#903


turns mailing lists into "My List" <My List> to make it look prettier in the UI
when inserting into the compose window.

However when you drag the address into the compose window, we try to
autocomplete this string and there is no match in the address book because we
don't store an address for the mailing list with that form. We just store the
descrition name for the list. Hence the broken auto complete behavior when
dragging to a mailing list.

This fix modifies the auto complete matching code. If the card we are comparing
our string to is a mailing list, then we take the ununsed email address field
and we reformat the mailing list name as "My List" <My List>, insert that into
the email address slot and the auto complete comparison routine ends up
comparing the original string to this generated string and we now find a match
for the mailing list.
(Assignee)

Comment 2

15 years ago
Comment on attachment 145521 [details] [diff] [review]
the fix

See: 

http://bugzilla.mozilla.org/show_bug.cgi?id=237553#c1

for an explanation or the comment
Attachment #145521 - Flags: superreview?(bienvenu)

Updated

15 years ago
Attachment #145521 - Flags: superreview?(bienvenu) → superreview+

Comment 3

15 years ago
a=chofmann for 1.7/trunk
(Assignee)

Updated

15 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED

Comment 4

14 years ago
Bug reoccurs, see Bug 268971.
You need to log in before you can comment on or make changes to this bug.