JavaScript Error: "TypeError: calendar is null" {file: "chrome://calendar/content/calendar-task-editing.js" line: 102}

RESOLVED FIXED in 4.0.0.1

Status

Calendar
Tasks
RESOLVED FIXED
5 years ago
2 years ago

People

(Reporter: Fallen, Assigned: mmecca)

Tracking

Trunk
4.0.0.1

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
STR:

1. Create a new profile
2. Startup for the first time

Results:

Error: calendar is null
Source file: chrome://calendar/content/calendar-task-editing.js
Line: 134

Comment 1

3 years ago
Error is reported during mozmill tests, see e.g. https://tbpl.mozilla.org/php/getParsedLog.php?id=50801120&tree=Thunderbird-Trunk
Summary: calendar is null in calendar-task-editing.js on first startup → JavaScript Error: "TypeError: calendar is null" {file: "chrome://calendar/content/calendar-task-editing.js" line: 102}

Comment 2

2 years ago
Still happens on current new installs.
(Assignee)

Comment 3

2 years ago
Created attachment 8606753 [details] [diff] [review]
Fix v1

We can safely bail out of the first-run setup for the quick-add task box if the calendar hasn't been created yet, the setup will be triggered again once the calendar is created and set as default.
Assignee: nobody → matthew.mecca
Status: NEW → ASSIGNED
Attachment #8606753 - Flags: review?(philipp)
(Reporter)

Comment 4

2 years ago
Comment on attachment 8606753 [details] [diff] [review]
Fix v1

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

r=philipp
Attachment #8606753 - Flags: review?(philipp)
Attachment #8606753 - Flags: review+
Attachment #8606753 - Flags: approval-calendar-beta+
Attachment #8606753 - Flags: approval-calendar-aurora+
(Reporter)

Updated

2 years ago
Keywords: checkin-needed
(Reporter)

Comment 5

2 years ago
Pushed to comm-central changeset 584a41516306
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 4.3
(Reporter)

Comment 6

2 years ago
Backported to releases/comm-aurora changeset 0a2db1c99df9
Target Milestone: 4.3 → 4.2
(Reporter)

Comment 7

2 years ago
Backported to releases/comm-beta changeset a6b8669b8746
Target Milestone: 4.2 → 4.1
(Reporter)

Comment 8

2 years ago
Backported to releases/comm-beta changeset e5f0f6bc1a36 (THUNDERBIRD_38_VERBRANCH)
Target Milestone: 4.1 → 4.0
You need to log in before you can comment on or make changes to this bug.