Closed Bug 1786920 Opened 2 years ago Closed 2 years ago

"Enter your password for..." dialog is missing the server name when getting messages (incl. fix for bug 1792102: POP3 messages not deleted on server)

Categories

(Thunderbird :: General, defect)

Thunderbird 102
defect

Tracking

(thunderbird_esr102+ fixed, thunderbird105 fixed)

RESOLVED FIXED
106 Branch
Tracking Status
thunderbird_esr102 + fixed
thunderbird105 --- fixed

People

(Reporter: softwarewebresearch, Assigned: rnons)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0

Steps to reproduce:

Get Messages

Actual results:

The "Enter your password for..." dialog is missing the server name in both the title bar and the body when getting messages. When sending messages, the dialog is correct in both the title bar and the body. Redacted screenshots attached showing both dialogs.

Expected results:

The server name should be in both the title bar and the body. This was the case in v91. The bug was introduced in v102.

Assignee: nobody → remotenonsense
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: regression
Regressed by: pop3-js
Component: Security → General

The bug is server.hostname should be server.hostName.
Take the chance to refactor MsgIncomingServer and MailAuthenticator a bit to prevent showing multiple auth dialogs for the same server.

See Also: → 1787096
Target Milestone: --- → 106 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/855c9b464e08
Show hostname in pop3 password dialog, prevent showing multiple auth dialogs. r=mkmelin

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

Comment on attachment 9291465 [details]
Bug 1786920 - Show hostname in pop3 password dialog, prevent showing multiple auth dialogs. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): bug 1707548
User impact if declined: POP3 password dialog title and message don't have hostname
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low

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

Thanks for the fast fix...very much appreciated!

Comment on attachment 9291465 [details]
Bug 1786920 - Show hostname in pop3 password dialog, prevent showing multiple auth dialogs. r=mkmelin

[Triage Comment]
Approved for beta

Attachment #9291465 - Flags: approval-comm-beta? → approval-comm-beta+

Approved for beta

Glad to hear it!

Thunderbird 105.0b2

Great news! Thanks again!

Attached patch 1786920-esr102.patch (obsolete) — Splinter Review

Because of conflicts, only pick the necessary changes to uplift to esr102.

[Approval Request Comment]
Regression caused by (bug #): bug 1707548
User impact if declined: POP3 password dialog title and message don't have hostname
Testing completed (on c-c, etc.): beta
Risk to taking this patch (and alternatives if risky): no risk

Attachment #9295116 - Flags: approval-comm-esr102?

Because of conflicts, only pick the necessary changes to uplift to esr102.

[Approval Request Comment]
Regression caused by (bug #): bug 1707548
User impact if declined: POP3 password dialog title and message don't have hostname, and bug 1792102
Testing completed (on c-c, etc.): beta
Risk to taking this patch (and alternatives if risky): no risk

Also includes fix for bug 1792102

Attachment #9295116 - Attachment is obsolete: true
Attachment #9295116 - Flags: approval-comm-esr102?
Attachment #9296277 - Flags: approval-comm-esr102?

(In reply to Ping Chen (:rnons) from comment #13)

Regression caused by (bug #): bug 1707548
User impact if declined: POP3 password dialog title and message don't have hostname, and bug 1792102
Also includes fix for bug 1792102

Thank you very much Ping for fixing this and also bug 1792102 in the process, which is currently collecting duplicates. I agree that we should keep bug 1792102 as a separate bug in its own right for best bug management.

Blocks: 1792102
Summary: "Enter your password for..." dialog is missing the server name when getting messages → "Enter your password for..." dialog is missing the server name when getting messages (incl. fix for bug 1792102: POP3 messages not deleted on server)

Comment on attachment 9296277 [details] [diff] [review]
1786920-esr102.patch

[Triage Comment]
Approved for esr102

Attachment #9296277 - Flags: approval-comm-esr102? → approval-comm-esr102+

Rebase the other half of the original patch to esr102, which essentially fixes bug 1792879.
[Approval Request Comment]
Regression caused by (bug #): bug 1707548
User impact if declined: Multiple password dialog may be shown for the same account
Testing completed (on c-c, etc.): beta
Risk to taking this patch (and alternatives if risky): low

Did a try run: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=edfb0af60fa3d03e3e05e8bd75b895b31781ff53

Attachment #9296745 - Flags: approval-comm-esr102?

I just updated to 102.3.1 (64-bit). The fix for POP server name works perfectly! Thanks very much for the quick fix!

Comment on attachment 9296745 [details] [diff] [review]
1786920-esr102-prevent-multiple-auth-dialogs.patch

[Triage Comment]
approved for esr102

Attachment #9296745 - Flags: approval-comm-esr102? → approval-comm-esr102+

Can we uplift the above patch? Thanks.

Flags: needinfo?(rob)

(In reply to Ping Chen (:rnons) from comment #23)

Can we uplift the above patch? Thanks.

Yes! Sorry this got missed. The bug was set to "fixed" after the initial uplift in comment 16. Once that happens it's difficult to catch anything else that gets added (like comment 19). You can set the status flag to "affected" in these cases.

I'll get this into the next build.

Flags: needinfo?(rob)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: