Closed Bug 404813 Opened 17 years ago Closed 17 years ago

No calendars can be created, failure during startup

Categories

(Calendar :: Internal Components, defect)

Mozilla 1.8 Branch
x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ssitter, Assigned: Fallen)

References

Details

(Keywords: regression)

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.10pre) Gecko/20071121 Calendar/0.8pre

Steps To Reproduce:
1. Start Sunbird with clean profile or with existing profiles
2. Check calendar list

Actual results:
No calendar is displayed in list. Error console shows messages similar to:

Error: Can't create calendar for 1 (storage, moz-profile-calendar://): TypeError: Components.classes["@mozilla.org/calendar/calendar;1?type=" + type] has no properties
Source File: file:///D:/sunbird/js/calCalendarManager.js Line: 538

Error: Components.classes["@mozilla.org/calendar/calendar;1?type=" + type] has no properties
Source File: file:///D:/sunbird/js/calCalendarManager.js Line: 426

Error: uncaught exception: [Exception... "'[JavaScript Error: "Components.classes["@mozilla.org/calendar/calendar;1?type=" + type] has no properties" {file: "file:///D:/sunbird/js/calCalendarManager.js" line: 426}]' when calling method: [calICalendarManager::createCalendar]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: chrome://calendar/content/calendar-management.js :: loadCalendarManager :: line 104"  data: yes]
Regression Range:
Works in Sunbird 0.8pre (2007-11-20-05)
Fails in Sunbird 0.8pre (2007-11-21-05)

Most probably regressed by Bug 404085. Several new *CalendarModule.js files were added but I can't find them in the win32 package.
In addition the following files are no longer contained in the win32 package:
 sunbird/components: calDavCalendar.js
 sunbird/components: calICSCalendar.js
 sunbird/components: calMemoryCalendar.js
 sunbird/components: calStorageCalendar.js
Blocks: 404085
Keywords: regression
Lightning nightly branch 11/21 build seems OK so far.
I hope this takes care of things. I'm not sure if the files need to be added to other files, but I think this is all.
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #289716 - Flags: review?(ssitter)
Comment on attachment 289716 [details] [diff] [review]
Add missing files to packages-static and removed-files.in

r=ssitter
Attachment #289716 - Flags: review?(ssitter) → review+
Whiteboard: checkin-needed
Checked in on HEAD and MOZILLA_1_8_BRANCH

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: checkin-needed
Target Milestone: --- → 0.8
Verified using Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.10pre) Gecko/2007112606 Calendar/0.8pre.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.