Closed Bug 324633 Opened 19 years ago Closed 19 years ago

Error importing Outlook 2002 CSV calendar

Categories

(Calendar :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: quark.green, Assigned: jminta)

References

Details

(Whiteboard: [good first bug])

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20051104 Mozilla Sunbird/0.3a1

I get the following error when importing a CSV calendar file into Sunbird that I exported from Outlook 2002:

Unable to read from file:(path and filename)
[Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: file:J:/Portable/sunbird/components/calOutlookCSVImportExport.js :: csv_importFromStream :: line 269" data: no

Reproducible: Always

Steps to Reproduce:
1. Export outlook 2002 calendar as csv format
2. Import calendar in Sunbird using type "Comma Separated Values (from Outlook)"
3.

Actual Results:  
No data is imported.  I get the following error:

Unable to read from file:(path and filename)
[Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: file:J:/Portable/sunbird/components/calOutlookCSVImportExport.js :: csv_importFromStream :: line 269" data: no

Expected Results:  
Import the calendar data and display it.
Confirmed.  isAll
Day was removed awhile ago.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [good first bug]
Attached patch use isDate instead of isAllDay (obsolete) — — Splinter Review
isAllDay was removed awhile ago.  Set isDate on the starting date instead.
Assignee: nobody → jminta
Status: NEW → ASSIGNED
Attachment #210522 - Flags: first-review?(mvl)
Comment on attachment 210522 [details] [diff] [review]
use isDate instead of isAllDay

this part looks ok, but there seem to be other spots:
http://lxr.mozilla.org/seamonkey/search?string=isAllDay
Version 2 should have all the other uses of isAllDay.  The remaining calls in the lxr link were in obsolete code (or were just variable names, not calls to the obsolete method).
Attachment #210522 - Attachment is obsolete: true
Attachment #210535 - Flags: first-review?(mvl)
Attachment #210522 - Flags: first-review?(mvl)
Comment on attachment 210535 [details] [diff] [review]
use isDate instead of isAllDay v2

r=mvl
Attachment #210535 - Flags: first-review?(mvl) → first-review+
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
*** Bug 326102 has been marked as a duplicate of this bug. ***
Summary: Error importing Outlook 2002 CVS calendar → Error importing Outlook 2002 CSV calendar
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: