Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090226 Calendar/1.0pre (BuildID: 20090226084848) Steps to Reproduce: 1. Start Sunbird with new profile Actual Results: The calendars tab is empty, the views are just white. Error Console shows: Error: calMgr is not defined Source File: chrome://calendar/content/calendar-management.js Line: 100 Error: calendar is null Source File: chrome://calendar/content/calendar-task-editing.js Line: 134 Regression range: Works in Sunbird 1.0pre (20090226042528) Fails in Sunbird 1.0pre (20090226084848)
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Whiteboard: [needed beta][no l10n impact]
Same error with Lightning 1.0pre (2009022612 hourly) + Shredder 3.0b3pre.
Severity: major → critical
OS: Windows XP → All
The problem is somewhere in the refactoring of loadCalendarManager() and initHomeCalendar() in calendar-management.js that was done in Bug 475715. I added |let calMgr = getCalendarManager();| to initHomeCalendar() to run into the following error: "composite is not defined". I added |let composite = getCompositeCalendar();| to initHomeCalendar() to run into the following exception: "Calendar list has no composite calendar yet".
(In reply to comment #2) See also Bug 479316 for the 'setting a property that has only a getter' error. I only observed the error in a 1.9.2 but not 1.9.1 build. Maybe you could drop a note if it happens in a nightly build too.
In reply to comment #4: Comment #2 is about the Linux build downloaded a few minutes before the comment was posted, from ftp://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/latest-trunk/. Its UA string was copied from Help=>About to the clipboard, then pasted from there at the top of the comment. AFAIK, there are no Calendar builds based on Gecko 1.9.2 on the Mozilla site yet. (I don't have the facilities or the know-how to compile Mozilla applications locally.)
Summary: Calendar list and views are empty after startup [Error: calMgr is not defined] → Creating now profile fails, calendar list and views are empty [Error: calMgr is not defined]
Summary: Creating now profile fails, calendar list and views are empty [Error: calMgr is not defined] → Creating new profile fails, calendar list and views are empty [Error: calMgr is not defined]
Ought to be fixed by the checkin of attachment 365021 [details] [diff] [review] in Bug 475715.
Target Milestone: --- → 1.0
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
I see my calendars again (on Linux), see bug 479316 comment #8.
You need to log in before you can comment on or make changes to this bug.