Closed Bug 1587587 Opened 5 years ago Closed 5 years ago

Users can create mailing lists that won't work

Categories

(Thunderbird :: Address Book, defect)

defect
Not set
normal

Tracking

(thunderbird70 fixed, thunderbird71 fixed)

RESOLVED FIXED
Thunderbird 71.0
Tracking Status
thunderbird70 --- fixed
thunderbird71 --- fixed

People

(Reporter: pmorris, Assigned: pmorris)

Details

Attachments

(1 file, 1 obsolete file)

See comment 18 on bug 1584211, and also these bugs:
Bug 170823: Multiple Spaces
Bug 1175900: Comma(s)
Bug [NONE?]: Semicolon(s)
Bug 1156245: Multiple Double Quotes

Ultimately, it might be nice to allow mailing list names with these characters, but we do users no favors by letting them create mailing lists that don't work. So I think it's worth going ahead and fixing this by showing an error dialog that alerts users to the problem and lets them fix it when they are naming a mailing list. If we like we can re-visit after the changes in bug 440377 are in place.

Alerts the user if they try to create or edit a mailing list name with characters that will make it fail when composing a message to the list.

Attachment #9099999 - Flags: review?(mkmelin+mozilla)
Attachment #9099999 - Flags: review?(mkmelin+mozilla) → review?(geoff)
Summary: Help users avoid creating mailing lists that don't work → Users can create mailing lists that won't work
Comment on attachment 9099999 [details] [diff] [review]
no-more-broken-mailing-lists-0.patch

Review of attachment 9099999 [details] [diff] [review]:
-----------------------------------------------------------------

I don't like this wording. Windows says this when you make use an illegal character: "A filename can't contain any of the following characters: \ / : * etc.", so maybe something like it.

If you had a separate message for adjacent spaces (which I think you should do anyway), you could replace the awkward regexp with `for (let c of ';,"<>') …`.
Attachment #9099999 - Flags: review?(geoff) → review-

Good call, I like this better too.

Attachment #9099999 - Attachment is obsolete: true
Attachment #9100304 - Flags: review?(geoff)
Comment on attachment 9100304 [details] [diff] [review]
no-more-broken-mailing-lists-1.patch

Review of attachment 9100304 [details] [diff] [review]:
-----------------------------------------------------------------

Better!
Attachment #9100304 - Flags: review?(geoff) → review+
Keywords: checkin-needed
Attachment #9100304 - Flags: approval-comm-esr68+
Attachment #9100304 - Flags: approval-comm-beta+

https://hg.mozilla.org/comm-central/rev/7e9ef7f6158ab14df2c9c439882ff91b0aa2fe47
Show an alert if a new mailing list name won't work. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 71.0

TB 70 beta 4:
https://hg.mozilla.org/releases/comm-beta/rev/2ecd5527f4bd2043d89e37010bd5ab952cc00e60

Oops, this shouldn't have gone to beta since it had string changes.

Comment on attachment 9100304 [details] [diff] [review]
no-more-broken-mailing-lists-1.patch

Can't do ESR 68 here due to the strings.
Attachment #9100304 - Flags: approval-comm-esr68+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: