Closed Bug 261489 Opened 21 years ago Closed 21 years ago

Sunbird: Cannot export to CSV file [no DOMParser]

Categories

(Calendar :: General, defect)

Sunbird 0.2
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: artooro, Assigned: mostafah)

Details

Attachments

(2 files)

I cannot export my calendar events as Comma Separated. Here's what I do; Select events to export Choose Export Selected Events from menu Choose Comma Separated from type menu Click on Save No file is saved. If I export to to default ICS format it works fine.
Sorry, I forgot about this. Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a4) Gecko/20040907 Firefox/0.9.1+ Sunbird 2004-09-07 on Mac OS X
Same problem Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040907 Mozilla Sunbird/0.2a
Changing platform and OS to all.
OS: MacOS X → All
Hardware: Macintosh → All
It fails in Sunbird 0.2b 20041112 It works in Calendar 20041112 on FF1.0 On Sunbird, JavaScript Console reports Error: DOMParser is not defined Source File: chrome://calendar/content/importExport.js Line: 1987 on line that says var domParser = new DOMParser; Maybe the Sunbird build does not include the builtin DOMParser?
Summary: Cannot export to CSV file → Sunbird: Cannot export to CSV file [no DOMParser]
Version: unspecified → Sunbird 0.2b
While it possible that sunbird doesn't have the domparser, i don't see how that can break exporting of csv files. I can see it breaking exporting xml files. Are you sure this is the problem? (that said, we do need the domparser for xml, so need to enable it anyway)
The CSV is generated from the XML using an XSL transform, as are several of the export formats, so yes DOMParser is used to export CSV as well.
Attached patch patch v1Splinter Review
we need to enable xmlextras for domparser and transformiix for xsl transforms.
Attachment #168490 - Flags: first-review?(mostafah)
Attached patch sunbird02 patchSplinter Review
patch for sunbird0.2 branch
Attachment #168491 - Flags: first-review?(mostafah)
Attachment #168490 - Flags: first-review?(mostafah) → first-review+
Attachment #168491 - Flags: first-review?(mostafah) → first-review+
both patches checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: General. Be afraid for your sanity!
QA Contact: gurganbl → general
Status: RESOLVED → VERIFIED
Version: Sunbird 0.2b → Sunbird 0.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: