Closed Bug 154600 Opened 23 years ago Closed 23 years ago

Calendar will not start

Categories

(Calendar :: General, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jailbird, Assigned: mikeypotter)

References

Details

After upgrading from 2002062608 -> 2002062704, the calendar will no longer start. This was a clean install (aka old fields were deleted first). After attemping to start Calendar the JavaScript debugger reports: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://calendar/content/calendarOverlay.js :: openCalendar :: line 31" data: no]
This appears to be a bad build that you got. The calendar is not truly supported under the latest nightly builds, we're still working to get a complete version working with Mozilla 1.0.
I can Confirm Calendar no longer works on nightly builds after 26/06, seen on 2002062808 Windows XP. (no rights to change bugzilla status) The code on line 31 that is in the error log is: [30] var wmdata = Components.classes["@mozilla.org/rdf/datasource;1? name=window-mediator"].getService(); [31] var wmediator = wmdata.QueryInterface (Components.interfaces.nsIWindowMediator); [32] var calendarWindow = wmediator.getMostRecentWindow ( "calendarMainWindow" ); [33] //the topWindow is always null, but it loads chrome://calendar/content/calendar.xul into the open window. This is caused (I guess..) by bug 132175 (carve out datasource from window mediator) fixed on 26/06 patch to tasksoverlay.js: http://bugzilla.mozilla.org/attachment.cgi?id=88029&action=view
I don't have have cvs/diff here, but the following changes in calendarOverlay.js seem to work on both old and new builds (done manual, apply twice code copied from navigator js): - var wmdata = Components.classes["@mozilla.org/rdf/datasource;1?name=window- mediator"].getService(); - var wmediator = wmdata.QueryInterface (Components.interfaces.nsIWindowMediator); + var wmediator = Components.classes["@mozilla.org/appshell/window- mediator;1"] + .getService (Components.interfaces.nsIWindowMediator);
*** Bug 154992 has been marked as a duplicate of this bug. ***
Fixed in CVS.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Same bug is in getAlarmDialog from calendarOverlay.js, so alarm-dialog will also will not popup.
This is fixed in that spot as well. I'll search for other locations, but I think that's it. I'll make a new XPI today.
verified
Status: RESOLVED → VERIFIED
The bugspam monkeys have been set free and are feeding on Calendar :: General. Be afraid for your sanity!
QA Contact: colint → general
You need to log in before you can comment on or make changes to this bug.