Closed Bug 735253 Opened 12 years ago Closed 9 years ago

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

Categories

(Calendar :: Tasks, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
4.0.0.1

People

(Reporter: Fallen, Assigned: mmecca)

Details

Attachments

(1 file)

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
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}
Still happens on current new installs.
Attached patch Fix v1 β€” β€” Splinter Review
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)
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+
Pushed to comm-central changeset 584a41516306
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 4.3
Backported to releases/comm-aurora changeset 0a2db1c99df9
Target Milestone: 4.3 → 4.2
Backported to releases/comm-beta changeset a6b8669b8746
Target Milestone: 4.2 → 4.1
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.