Comment 0 for bug 315732

Revision history for this message
In , Ssitter (ssitter) wrote :

Created an attachment (id=347837)
testcase

Opening the attached ics file fails (with the errors listed below) using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081112 Calendar/1.0pre

Opening works fine using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18pre) Gecko/20080917 Sunbird/0.9.

[[[
Error: this.setProperty is not a function
Source File: file:///E:/sunbird/modules/calUtils.jsm -> file:///E:/sunbird/calendar-js/calAttachment.js
Line: 162
]]]

[[[
Parsing the file failed:[Exception... "'[JavaScript Error: "this.setProperty is not a function" {file: "file:///E:/sunbird/modules/calUtils.jsm -> file:///E:/sunbird/calendar-js/calAttachment.js" line: 162}]' when calling method: [calIAttachment::icalProperty]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///E:/sunbird/modules/calUtils.jsm -> file:///E:/sunbird/calendar-js/calItemBase.js :: anonymous :: line 681" data: yes]
]]]

[[[
Warning: There has been an error reading data for calendar: test. It has been placed in read-only mode, since changes to this calendar will likely result in data-loss. You may change this setting by choosing 'Edit Calendar'. Error code: 0x80570021. Description: [Exception... "'[JavaScript Error: "this.setProperty is not a function" {file: "file:///E:/sunbird/modules/calUtils.jsm -> file:///E:/sunbird/calendar-js/calAttachment.js" line: 162}]' when calling method: [calIAttachment::icalProperty]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///E:/sunbird/modules/calUtils.jsm -> file:///E:/sunbird/calendar-js/calItemBase.js :: anonymous :: line 681" data: yes]
]]]

[[[
Warning: There has been an error reading data for calendar: test. Error code: READ_FAILED. Description:
]]]