Closed Bug 477005 Opened 16 years ago Closed 15 years ago

caldav calendars incorrectly loading, home calendar has severe duplication

Categories

(Calendar :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 479867

People

(Reporter: Benjamin.Close, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.46 Safari/525.19 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090203 Lightning/1.0pre Shredder/3.0b2pre With the latest nightly my caldav calendars (ical server) just don't work and the home calendar has severe duplication. Switch to/from calendar view shows different amounts of 'Home' calendars. A severe delay (like a hang) has also crept up which seems to correspond with the re-fetch of remote calendars. This delay times out after about 20 seconds. Reproducible: Always Steps to Reproduce: 1. Use an existing CALDAV calendar to an ical server 2. Use a google calendar 3. Use a current shredder 4. Open Calendar view Actual Results: Incorrectly displayed and unusable calendars Expected Results: Usable calendars, no duplicated calendars. Error console shows repeated: Error: [Exception... "'[JavaScript Error: "this.labeldaybox.firstChild is null" {file: "chrome://calendar/content/calendar-month-view.xml" line: 766}]' when calling method: [calICompositeObserver::onCalendarAdded]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js :: notifyFunc :: line 1215" data: yes] STACK: 1: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1218] notifyFunc 2: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1221] calListenerBag_notify 3: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:209] cCC_addCalendar 4: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:184] anonymous 5: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:187] anonymous 6: [null:0] null 7: [chrome://calendar/content/calUtils.js:1832] getCompositeCalendar 8: [chrome://calendar/content/calendar-task-tree.xml:154] Source File: file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js Line: 1218 Followed by: Error: Assert failed: TypeError: logins[0].clone is not a function 2: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calAuthUtils.jsm:140] calPasswordManagerSave 3: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleUtils.js:195] passwordManagerSave 4: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleSession.js:437] cGS_onResult 5: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleRequest.js:246] cGR_fail 6: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleRequest.js:258] cGR_succeed 7: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleRequest.js:371] cGR_onStreamComplete Source File: file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js Line: 968
The 2 files at http://www.clearchain.com/~benjsc/temp/shredder/ show the result of initially switching to calendar mode, switching tabs back to email mode, then switching tabs back to calendar mode. Notice how the 'home' calendar count changes and the today pane shows up. Also notice that regardless the caldav calendars (show in different colours) all have the same events. These are distinctivly different calendars with very few overlapping events.
Also note the google calendar doesn't show up
Most probably a duplicate of Bug 474552.
With #474552 now fixed, the latest nightly still exhibits the same symptoms though the errors in the error console are now different: Error: [Exception... "'[JavaScript Error: "this.treebox is null" {file: "chrome://calendar/content/widgets/calendar-list-tree.xml" line: 562}]' when calling method: [calICompositeObserver::onCalendarAdded]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js :: notifyFunc :: line 1231" data: yes] STACK: 1: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1234] notifyFunc 2: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1237] calListenerBag_notify 3: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:209] cCC_addCalendar 4: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:184] anonymous 5: [file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:187] anonymous 6: [null:0] null 7: [chrome://calendar/content/calUtils.js:1848] getCompositeCalendar 8: [chrome://calendar/content/calendar-task-tree.xml:154] Source File: file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/closebs/Application%20Data/Thunderbird/Profiles/rfeh9e11.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js Line: 1234 The end symptoms are changed marginally as well. I now only see the google calendar in the sidebar not my other non google caldav calendars, where as before I would see all but duplicated. (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre) Gecko/20090309 Lightning/1.0pre Shredder/3.0b3pr)
Benjamin, is this issue still reproducible with a more recent Lightning 1.0pre nightly build? Do you have the experimental cache enabled for the calendar which shows duplicated events?
I am no longer in a situation to be able to repeat this bug (have reinstalled the affected windows box). I do however now access the caldav + google calendars using lightning 1.0pre under linux - all ok. I believe there might have been some corruption between revisions in the experimental local cache under windows at the time. Happy to close this bug now indicating it's resolved.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE
Same symptom as in #479867 marking as duplicate
You need to log in before you can comment on or make changes to this bug.