Closed Bug 1976128 Opened 8 months ago Closed 3 months ago

If sending a message with EWS requires a password, an error is shown instead of a password prompt

Categories

(MailNews Core :: Networking: Exchange, defect, P1)

Tracking

(Not tracked)

RESOLVED FIXED
147 Branch

People

(Reporter: darktrojan, Assigned: edicharry)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

In bug 1975707 I skipped 3 tests (mail/components/compose/test/browser/browser_sendMessage_badPassword.js), because when a password is needed a send failure message appears instead of a prompt to enter the password. I guess this just hasn't been implemented yet.

Brendan, I think you fixed this one, possibly in another bug, but can you verify?

Flags: needinfo?(brendan)

No I don't believe this has been fixed yet. The fix for this is to make EwsOutgoingServer implement getPasswordWithUI. Bug 1971540 added some code to the EWS client that causes that method to be called automatically in the right places, but we still need the outgoing server to start a prompt. Presumably that will look a lot like nsMsgIncomingServer::GetPasswordWithUI, and I wouldn't be surprised if it was somewhat trivial to factor most of that method out into a standalone function we could expose to Rust over FFI.

Flags: needinfo?(brendan)
Priority: -- → P1
Assignee: nobody → edicharry
Status: NEW → ASSIGNED
Attachment #9523015 - Attachment description: WIP: Bug 1976128 - Prompt for password in EWS outgoing server. → Bug 1976128 - Prompt for password in EWS outgoing server. r=#thunderbird-back-end-reviewers
Target Milestone: --- → 147 Branch

Pushed by edicharry@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/d171452aa90a
Prompt for password in EWS outgoing server. r=mkmelin,tobyp

Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Duplicate of this bug: 1978594
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: