Open Bug 1976128 Opened 4 months ago Updated 3 hours 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)

ASSIGNED

People

(Reporter: darktrojan, Assigned: edicharry)

References

(Blocks 2 open bugs)

Details

(Keywords: checkin-needed-tb)

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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: