Closed Bug 1715120 Opened 4 years ago Closed 4 years ago

[autoconfig] "Select protocol" with no protocols to select

Categories

(Thunderbird :: Account Manager, defect, P1)

Thunderbird 91

Tracking

(thunderbird_esr78 unaffected, thunderbird90+ fixed)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird90 + fixed

People

(Reporter: BenB, Assigned: aleca)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Environment:

  • TB 91 Nightly of 2021-07-07

Reproduction:

  • Start new profile and start the account creation dialog.
  • Enter an email address, e.g. foo@qq.com . The domain should have only IMAP or POP3 servers, but not both. This is the case for qq.com.
  • Enter "nonsense" as password
  • Click Continue

Actual result:

  • "Configuration found in Mozilla ISP database" in green
  • "Select the protocol" heading
  • There is no protocol to select
  • You can still click Done, and it works.

Expected result:

  • "Select the protocol" does not appear, if there is only one protocol to select
  • The found configuration and particularly the hostname is shown in all cases, even if there is only 1 configuration.

Importance:
Showing the hostnames (incoming and outgoing) before connecting the first time is a very important security feature, to inform the user where we will send the password. Showing the hostname is a critical and indispensible part in the entire flow.

Cause:
This is a regression from the recent account creation dialog re-work. It beautified the IMAP vs. POP3 selector - which looks nice -, but clearly forgot the case where only 1 result came back, probably due lack of test cases and mere oversight.

Attached image Screenshot

Ouch, my bad.
Thanks for the detailed overview.
I'll take care of this right away and a test to cover this use case.

Regressed by: 1697575

Comment on attachment 9225754 [details]
Bug 1715120 - Show all account protocols even if only one is available. r=mkmelin

Thanks, Alec!

Very elegant, with the label choice using the count.
Wording: How about "Available configuration" for the one case?
r=BenB otherwise

Attachment #9225754 - Flags: review+
Target Milestone: --- → 91 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/4982222b4d3e
Show all account protocols even if only one is available. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Thank you! :-)

Comment on attachment 9225754 [details]
Bug 1715120 - Show all account protocols even if only one is available. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): 1697575
User impact if declined: Visually incomplete UI when only one protocol is supported by a mail server
Testing completed (on c-c, etc.): test case added
Risk to taking this patch (and alternatives if risky):
low risk as would only affect setting up new accounts, and fix has been vetted on nightly

Attachment #9225754 - Flags: approval-comm-beta?

Comment on attachment 9225754 [details]
Bug 1715120 - Show all account protocols even if only one is available. r=mkmelin

[Triage Comment]
Approved for beta

Attachment #9225754 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: