Closed Bug 371851 Opened 18 years ago Closed 18 years ago

month and multiweek views go blank when relayout throws exception

Categories

(Calendar :: Calendar Frontend, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 369885

People

(Reporter: myk, Unassigned)

Details

When I start the latest Sunbird nightly, and it starts up displaying the multiweek view, it displays my local events, then they disappear, then they reappear along with the remote events from the remote ICS calendars I'm subscribed to. But if I then try to navigate to an earlier time period, five of the following errors show up in the Error Console: Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [calIItemBase.calendar]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://calendar/content/calendar-month-view.xml :: relayout :: line 430" data: no] Source File: chrome://calendar/content/calendar-month-view.xml Line: 430 along with one of this error: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [calIItemBase.calendar]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://calendar/content/calendar-month-view.xml :: relayout :: line 430" data: no] and all non-local events disappear from the view. And the next time I navigate to a different time period, local events also disappear from the calendar, and from then on no events appear in that view. If I then switch to the month view, the events reappear, but the same thing happens to the month view the first time I try to navigate to a different time period. And if I start up in the month view, then those errors appear on startup, and my local events never reappear after disappearing. When starting up in month view, tree of the following errors also appear: Error: itd.item.calendar.uri has no properties Source File: chrome://calendar/content/calendar-month-view.xml Line: 430 The day and week views do not appear to be affected. I only see this problem since upgrading from the 0.3 series. Bug 369885 could be related (the description reports similar errors), but for me the dates do change (the reporter of that bug says they don't for him) when changing time periods, and my events disappear, which the reporter in that bug does not describe.
Summary: month and multiweek views go blank relayout throws exception → month and multiweek views go blank when relayout throws exception
Another data point: if I start up in multiweek view, and then I switch to month view, the view navigation bar (the one that shows the current month in large font in the center with adjoining months in smaller fonts to either side) doesn't show the month names, as expected, but rather only the left and right arrowheads at the ends of the bar. And three events from one of my three remote ICS calendars do show up, although the rest of the events from that calendar (as well as the events from all the other remote calendars) do not. As soon as I click an arrowhead, the behavior becomes as described in the description: all events disappear, but the navigation bar goes back to its normal behavior of showing five month names. FWIW, I got this error once, too, while clicking around between months after all my events had disappeared: Error: oldSelectedDay has no properties Source File: chrome://calendar/content/calendar-decorated-month-view.xml Line: 179
Version: Sunbird 0.3.1 → Trunk
(In reply to comment #1) This is exactly the same behavior when using Sunbird/0.5pre (20070226) with new profile + the .ics testcase from Bug 369885, even not all failure modes and errors are listed there -> Marking as duplicate.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.