Closed Bug 356004 Opened 18 years ago Closed 18 years ago

"alarmTime has no properties" when opening file from 0.3a1 or older

Categories

(Calendar :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 349715

People

(Reporter: nemecek, Unassigned)

Details

User-Agent:       Opera/9.02 (Windows NT 5.1; U; en)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061006 Sunbird/0.3

When opening an .ics file from Sunbird 0.3a1 or older the following exeption is displayed: 

"[Exception... "'[JavaScript Error: "alarmTime has no properties" {file: "file:///C:/Programme/Mozilla%20Sunbird%200.3rc2/js/calAlarmService.js" line: 378}]' when calling method: [calIObserver::onAddItem]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: file:///C:/Programme/Mozilla%20Sunbird%200.3rc2/components/calICSCalendar.js :: anonymous :: line 813"  data: yes]"

This error occurs with local and remote ics calendars. 

Reproducible: Sometimes

Steps to Reproduce:
Open .ics file from Sunbird 0.3a1 or older. 
Actual Results:  
An error message is displayed which is not very helpful to the user.

Expected Results:  
a. Be more flexible when reading old .ics files
b. Display the location(s) of the error in the .ics file

Note: The error does not occur with all calendar files. It seems to be related to the datetime format. 

The error number is: 0x80570021
Flags: blocking0.3?
Please attach the (anonymized) calendar file that causes this problem to this bug or provide steps how to create such a event/task in Sunbird 0.3a1.
Resolving as duplicate of Bug 349715 because I think it's the same underlying problem that should be fixed with the patch in Bug 349715.

*** This bug has been marked as a duplicate of 349715 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Hi, 

I just wanted to report that the error messages are gone with the patch proposed in Bug 349715. Sunbird 0.3 is now working as expected. 
Flags: blocking0.3?
You need to log in before you can comment on or make changes to this bug.