Closed Bug 335817 Opened 19 years ago Closed 19 years ago

Loading of calendar causes calIcalComponent.startTime errors

Categories

(Calendar :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: moz-bugzilla2, Unassigned)

Details

Attachments

(1 file)

I'm using 2006042807 1.8 branch Lightning build with 1.8 Branch Thunderbird. I'm connecting to a Remote Calendar on a CommunicatePro server. Once it authenticates and connects, I end up with dozens of popup errors. It seems like it does not fully load the calendar entries. The following errors showing serveral times in the JavaScript console: Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [calIIcalComponent.startTime]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Documents%20and%20Settings/Steve/Application%20Data/Thunderbird/Profiles/default/ztlnigmk.slt/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemBase.js :: anonymous :: line 480" data: no] Source File: file:///C:/Documents%20and%20Settings/Steve/Application%20Data/Thunderbird/Profiles/default/ztlnigmk.slt/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemBase.js Line: 480 Let me know if there's additional information that is needed on this issue.
I'd bet heavily that the calendar you're subscribing to puts the startTime of an event in a timezone that isn't declared. Find the TZID in the starttime, and look for a VTIMEZONE component that corresponds to it. If the VTIMEZONE isn't there, the file is invalid.
Attached file Snippit of ics file
Can you have a look at this and clarify the incorrect behavior? I'll try to get an issue opened with CommuniGate on this issue once I understand it better. Thanks.
Actually, here's an event that shows a timezone: BEGIN:VEVENT ORGANIZER;CN="person@company.com":MAILTO:person@company.com RRULE:FREQ=WEEKLY;BYDAY=SA DTSTAMP:20060428T171241Z UID:040000008200E00074C5B7101A82E00800000000F0A02864506AC601000000000000000010000000C7C66280F957E74E8BB388AFB79B826D SEQUENCE:0 SUMMARY:Class LOCATION:School DTSTART;TZID="(GMT-05:00) Eastern Time (US & Canada)":20060121T090000 DTEND;TZID="(GMT-05:00) Eastern Time (US & Canada)":20060121T130000 EXDATE;TZID="(GMT-05:00) Eastern Time (US & Canada)":20060311T090000,20060318T090000 BEGIN:VALARM ACTION:DISPLAY TRIGGER:PT15M DESCRIPTION:REMINDER X-MAPI-WHEN:20060422T124500Z END:VALARM X-MICROSOFT-CDO-BUSYSTATUS:OOF LAST-MODIFIED:20060428T171241Z CREATED:20060428T171241Z PRIORITY:5 STATUS:CONFIRMED X-MICROSOFT-CDO-IMPORTANCE:1 END:VEVENT
Ok, I found one incorrect item. Removed it and still having problems. Is it possible for Calendar to catch the problematic events and show which event it has a problem with to make tracking such things easier?
From the little sample event I saw the following: At the beginning the timezone is defined like: BEGIN:VTIMEZONE TZID:(GMT-05:00) Eastern Time (US & Canada) Later in the file the timezone is used: DTSTART;TZID="(GMT-05:00) Eastern Time (US & Canada)":20060121T090000 The problem is that once quotation marks around the timezone are used and once not. If I add them to the timezone definition like: BEGIN:VTIMEZONE TZID:"(GMT-05:00) Eastern Time (US & Canada)" no error dialog is displayed and I even see an alarm popup. Tested with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060428 Mozilla Sunbird/0.3a2 (2006042814)
Thanks!
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: