[autoconfig] "Select protocol" with no protocols to select
Categories
(Thunderbird :: Account Manager, defect, P1)
Tracking
(thunderbird_esr78 unaffected, thunderbird90+ fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
thunderbird90 | + | fixed |
People
(Reporter: BenB, Assigned: aleca)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
52.00 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
BenB
:
review+
wsmwk
:
approval-comm-beta+
|
Details | Review |
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.
Reporter | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Ouch, my bad.
Thanks for the detailed overview.
I'll take care of this right away and a test to cover this use case.
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Reporter | ||
Comment 5•4 years ago
|
||
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
Updated•4 years ago
|
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
Reporter | ||
Comment 7•4 years ago
|
||
Thank you! :-)
Comment 8•4 years ago
|
||
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
Comment 9•4 years ago
|
||
Comment on attachment 9225754 [details]
Bug 1715120 - Show all account protocols even if only one is available. r=mkmelin
[Triage Comment]
Approved for beta
Comment 10•4 years ago
|
||
bugherder uplift |
Thunderbird 90.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/ab4d0d3cec5f
Description
•