Closed Bug 1052396 Opened 7 years ago Closed 7 years ago

Error after creating profile (while there are still no accounts): "Error in setting AccountCentral Items: TypeError: server is null"

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(thunderbird36 fixed)

RESOLVED FIXED
Thunderbird 36.0
Tracking Status
thunderbird36 --- fixed

People

(Reporter: aryx, Assigned: aryx)

Details

Attachments

(1 file, 1 obsolete file)

Thunderbird 34.0a1 20140723 and Thunderbird 31.0 on Windows 8.1

Remote debugging shows the following error in the console after creating a new Thunderbird profile:

Error in setting AccountCentral Items: TypeError: server is null
 msgAccountCentral.js:205

Reason for this:
folderDisplay.js call this._showAccountCentral() in http://mxr.mozilla.org/comm-central/source/mail/base/content/folderDisplay.js#1656

which calls msgAccountCentral.xul+js: http://mxr.mozilla.org/comm-central/source/mail/base/content/folderDisplay.js#1677

whose OnInit function calls ArrangeAccountCentralItems with null as server:
http://mxr.mozilla.org/comm-central/source/mailnews/base/content/msgAccountCentral.js#49
http://mxr.mozilla.org/comm-central/source/mailnews/base/content/msgAccountCentral.js#24
Attached patch patch, v1 (obsolete) — Splinter Review
Attachment #8471584 - Flags: review?(mkmelin+mozilla)
Comment on attachment 8471584 [details] [diff] [review]
patch, v1

Review of attachment 8471584 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me
Attachment #8471584 - Flags: review?(mkmelin+mozilla) → review+
https://hg.mozilla.org/comm-central/rev/ba812ce4e6f4
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 36.0
You need to log in before you can comment on or make changes to this bug.