Closed Bug 2017831 Opened 8 months ago Closed 7 months ago

Trying to create an account that goes to manual config multiple times errors

Categories

(Thunderbird :: Account Manager, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED
150 Branch

People

(Reporter: freaktechnik, Assigned: vineet)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

STR:

  • Enter test@thurnen.ch as email address in account hub
  • Continue
  • Accept the redirect
  • Go back after you get the manual config form
  • Continue again

The following error should now happen consistently (on the config found subview with the last data it was configured with):

mail.setup: Account setup error: can't access property "source", this[#currentConfig] is null. undefined TypeError: can't access property "source", this[#currentConfig] is null
    #showConfigFoundNotification chrome://messenger/content/accountcreation/views/email.mjs:1858
    #initConfigView chrome://messenger/content/accountcreation/views/email.mjs:1181
    #handleForwardAction chrome://messenger/content/accountcreation/views/email.mjs:836
    handleEvent chrome://messenger/content/accountcreation/views/email.mjs:600
    connectedCallback chrome://messenger/content/accountcreation/views/email.mjs:352
    #loadView chrome://messenger/content/accountcreation/accountHub.js:189
    #viewEmailSetup chrome://messenger/content/accountcreation/accountHub.js:277
    MAIL chrome://messenger/content/accountcreation/accountHub.js:60
    open chrome://messenger/content/accountcreation/accountHub.js:224
    openAccountHub chrome://messenger/content/accountcreation/accountHub.js:335
    openAccountSetup chrome://messenger/content/accountUtils.js:217
    onclick chrome://messenger/content/msgAccountCentral.xhtml?folderURI=mailbox://nobody@Feeds:1
account-hub-header.mjs:107:27

The error is preceded by a guessConfig failed: Error: Can’t find a server and so we should be getting the manual config form with an error in theory. (I think the exchange provider is just aborting requests without auth, which our code treats as "oh, there must be no exchange here")

I think the problem is that we're not checking if config is empty after the #findConfig calls in #redirectAccepted checks. So this affects all email addresses that have a redirect prompt but we can't find any viable config for.

Regression range: https://hg-edge.mozilla.org/comm-central/pushloghtml?fromchange=ba43a351ca1693e3663fba5d5fd4f3484b229d6c&tochange=36750080d223c99d8697215414e207b2e4e4b848

Keywords: regression
Regressed by: 1986410
Flags: needinfo?(vineet)
Assignee: nobody → vineet
Flags: needinfo?(vineet)
Status: NEW → ASSIGNED

How to Test

  • Enter test@thurnen.ch as email address in account hub
  • Continue
  • Accept the redirect
  • Go back after you get the manual config form
  • Continue again
  • Manual config should be shown
No longer depends on: tb-maintenance-2026-q1
Target Milestone: --- → 150 Branch

Pushed by jtracey@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/a38471573996
Account Hub: Fix issue where manual config isn't shown after a credentials confirmation. r=freaktechnik

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

Attachment

General

Creator:
Created:
Updated:
Size: