Open Bug 170296 Opened 22 years ago Updated 1 year ago

Maillists in different address books can not have same name. "A Mailing List with that name already exists. Please choose a different name."

Categories

(MailNews Core :: Address Book, defect)

defect

Tracking

(Not tracked)

People

(Reporter: sean.gao, Unassigned)

References

Details

Attachments

(2 files)

Reproduce:
1. Create 2 address books, separately named "A" & "B";
2. Create a maillist named "M" in A;
3. Create a maillist named "M" in B.
The expected result is two maillists can both be created successfully, while in
fact the operation 3 will fail. IMHO, The reason is that the method
"mailListNameExists" will search in the whole address books space other than in
a scope defined by users.
Also reported in bug 66117, resolved as dup of bug 44794.
Product: Browser → Seamonkey
Attachment #178364 - Flags: review+ → review?(browser-china-ab)
Attached patch V2Splinter Review
Attachment #178907 - Flags: review?(browser-china-ab)
sincere apologies for giving a patch which leads to ultimate confusion while
populating the maling list. The reason is the poupulate method searches each and
every address book and populates the mailing list. If you allow creation of two
or more mailing list with same name in different addressbooks it will lead to 
a confusion for populate method and you will end up sending your mail to a wrong
group.
I think the only way we could implement this at the moment is to provide some
form of scoping or indication as to where the address list comes from. We can't
easily stop all duplicates (consider shared/ldap address books), and I think
it'll take a while to implement correctly. Suggest we leave this bug open for
now and revisit later.
Comment on attachment 178364 [details] [diff] [review]
patch which can be probable fix

Removing review requests as I don't think this is the right way to go around it
and we're not ready yet.
Attachment #178364 - Flags: review?(browser-china-ab)
Comment on attachment 178907 [details] [diff] [review]
V2

Sorry I don't think this is the right way to go around it (see previous
comments).
Attachment #178907 - Flags: review?(browser-china-ab) → review-
QA Contact: nbaca → addressbook
Assignee: browser-china-ab → nobody
Component: Address Book → MailNews: Address Book
Product: Mozilla Application Suite → Core
This becomes important particularly in light of the fact that sub-lists cannot be used; therefore, more lists in different AB's are needed.

This same difficulty exists in that if the PAB has a list, a list by that same name cannot be added to an AB.
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3.0a1?
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3.0a1?
Product: Core → MailNews Core
Severity: normal → S3

Still valid

Summary: Maillists in different address books can not have same name → Maillists in different address books can not have same name. "A Mailing List with that name already exists. Please choose a different name."
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: