Closed Bug 285019 Opened 20 years ago Closed 20 years ago

import calendar doesn't work

Categories

(Calendar :: Sunbird Only, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mvl, Assigned: mostafah)

References

Details

(Keywords: regression)

Attachments

(2 files)

file->import: JavaScript strict warning: chrome://calendar/content/importExport.js, line 2029: reference to undefined property gICalLib.addObserver JavaScript error: chrome://calendar/content/importExport.js, line 2029: gICalLib.addObserver is not a function
import should import an cvs file, or xml, or whatever (importExport.js) into a calendar. So this bug is mainly to make importExport.js work with the new interfaces.
Keywords: regression
This patch should be the beginning of a fix. It uses the ics service to parse a ics file, instead of doing it in regexps. It might need some work on the front-end, like the ability to select a calendar to import into.
Attachment #185046 - Flags: first-review+
Comment on attachment 185046 [details] [diff] [review] patch part 1 (checked in) patch checked in. Leaving bug open for further issues
Attachment #185046 - Attachment description: patch part 1 → patch part 1 (checked in)
Depends on: 298772
Blocks: 298936
Attached patch misc fixesSplinter Review
It turns out there are only a few small problems left. This patch should fix things.
Attachment #190747 - Flags: first-review?(jminta)
Comment on attachment 190747 [details] [diff] [review] misc fixes + alert(getStringBundle().GetStringFromName("unableToRead") + filePath + "\n"+ex ); promptService, someday in the future. r=jminta
Attachment #190747 - Flags: first-review?(jminta) → first-review+
patch checked in. I believe import works now.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: