No calendars can be created, failure during startup

VERIFIED FIXED in 0.8

Status

Calendar
Internal Components
--
major
VERIFIED FIXED
11 years ago
11 years ago

People

(Reporter: ssitter, Assigned: Fallen)

Tracking

({regression})

Mozilla 1.8 Branch
x86
Windows 2000
regression

Details

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
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]
(Reporter)

Comment 1

11 years ago
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.
(Reporter)

Comment 2

11 years ago
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
(Reporter)

Updated

11 years ago
Blocks: 404085
Keywords: regression

Comment 3

11 years ago
Lightning nightly branch 11/21 build seems OK so far.
(Assignee)

Comment 4

11 years ago
Created attachment 289716 [details] [diff] [review]
Add missing files to packages-static and removed-files.in

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)
(Reporter)

Comment 5

11 years ago
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+
(Reporter)

Updated

11 years ago
Whiteboard: checkin-needed
(Assignee)

Comment 6

11 years ago
Checked in on HEAD and MOZILLA_1_8_BRANCH

-> FIXED
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
Whiteboard: checkin-needed
Target Milestone: --- → 0.8
(Reporter)

Comment 7

11 years ago
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.