Closed
Bug 1133581
Opened 11 years ago
Closed 10 years ago
"childrenNode is null" error when creating new account from Account central and skipping Account provisioner
Categories
(MailNews Core :: Account Manager, defect)
MailNews Core
Account Manager
Tracking
(thunderbird38+ fixed)
RESOLVED
FIXED
Thunderbird 39.0
People
(Reporter: aceman, Assigned: aceman)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.35 KB,
patch
|
mkmelin
:
review+
iannbugzilla
:
review+
rkent
:
approval-comm-aurora+
|
Details | Diff | Splinter Review |
STR:
1. on Account central, click 'Create a new account', Email.
2. in Account provisioner, click 'Skip this'.
Error is shown in console.
Timestamp: 16.02.2015 22:09:20
Error: TypeError: childrenNode is null
Source File: chrome://messenger/content/AccountManager.js
Line: 165
I traced it to msgNewMailAccount where we call selectServer(). For some reason it thinks there is an account manager, while there is not (only the account creation wizard). This seems to only happen when opened from the Account central, not from other means (e.g. File menu).
So I make it to really check if Account manager window is open. But I also think that call is useless while the Account wizard isn't modal (temporarily). The call is run immediately after opening the wizard so there is no account yet.
Attachment #8565155 -
Flags: review?(mkmelin+mozilla)
(In reply to Ian Neal from comment #2)
> How does modal ever become true?
Sorry that was the wrong question, it was meant to be "When modal becomes true, does it do the right thing?"
I hope so, but even if not, I hope the added code makes the coder changing to modal think about it better.
Flags: needinfo?(acelists)
Comment 5•11 years ago
|
||
Comment on attachment 8565155 [details] [diff] [review]
patch
Review of attachment 8565155 [details] [diff] [review]:
-----------------------------------------------------------------
I don't think I like the modal part of this.
::: mailnews/base/prefs/content/accountUtils.js
@@ +445,3 @@
> window.openDialog("chrome://messenger/content/accountcreation/emailWizard.xul",
> + "AccountSetup", "chrome,titlebar,centerscreen" +
> + (modal ? "modal" : ""),
missing comma, not that it matter since modal you always have modal false
Attachment #8565155 -
Flags: review?(mkmelin+mozilla) → review-
So what do you propose? Should I have unconditional return without the hints for future coders? :)
Comment 7•11 years ago
|
||
Not sure what a proper fix would be. Just a comment and return (if necessary) would be better than the variable.
OK, no problem.
Attachment #8565155 -
Attachment is obsolete: true
Attachment #8565711 -
Flags: review?(mkmelin+mozilla)
Attachment #8565711 -
Flags: review?(iann_bugzilla)
Updated•11 years ago
|
Attachment #8565711 -
Flags: review?(mkmelin+mozilla) → review+
Attachment #8565711 -
Flags: review?(iann_bugzilla) → review+
OS: Linux → All
Product: Thunderbird → MailNews Core
Hardware: x86 → All
Comment 10•10 years ago
|
||
Eliminating spurious errors is something we need to do to clean up for release.
tracking-thunderbird38:
--- → +
Comment 11•10 years ago
|
||
Comment on attachment 8565711 [details] [diff] [review]
patch v2
Pushed https://hg.mozilla.org/comm-central/rev/afdb81ec2f4a
We'll look to uplift to aurora after nightly cycle.
Attachment #8565711 -
Flags: approval-comm-aurora?
Updated•10 years ago
|
Keywords: checkin-needed
Target Milestone: --- → Thunderbird 39.0
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 12•10 years ago
|
||
status-thunderbird38:
--- → fixed
Updated•10 years ago
|
Attachment #8565711 -
Flags: approval-comm-aurora? → approval-comm-aurora+
You need to log in
before you can comment on or make changes to this bug.
Description
•