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

RESOLVED DUPLICATE of bug 349715

Status

Calendar
General
--
major
RESOLVED DUPLICATE of bug 349715
11 years ago
11 years ago

People

(Reporter: Sascha Nemecek, Unassigned)

Tracking

Details

(Reporter)

Description

11 years ago
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

Updated

11 years ago
Flags: blocking0.3?

Comment 1

11 years ago
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.

Comment 2

11 years ago
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
Last Resolved: 11 years ago
Resolution: --- → DUPLICATE
(Reporter)

Comment 3

11 years ago
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.