Closed Bug 374413 Opened 18 years ago Closed 18 years ago

Unable to "Export Calender" into a .html file

Categories

(Calendar :: Import and Export, defect)

Sunbird 0.3.1
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 368066

People

(Reporter: persofi, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Build Identifier: Sunbird/0.3.1

If I use the "File-->Export Calendar" function and choose to save as .html file I get "Error getting calendar: Unable to write to file:C: \Home.html  (I choose to save directly to C://Home.html). 
Sunbird still creates the .html file but it has a size of 0 byte. If I try to open it with Firefox, I only get a blank page. The Firefox address bar says "file:///C:/Home.html" which seems strange to me.

Trying to export to different folders or different filenames results in the same problem. Exporting as "iCalendar" works perfectly fine though and I dont seem to have any other problems with Sunbird. 
My programming skills are slim, but it seems like a small typo in the source code?
    

Reproducible: Always
Version: unspecified → Sunbird 0.3.1
Sry I forgot to mention: If I use the function "File-->Export Selection" and try to export into a .html file, the exact same error occurs. 
This error happens if you have tasks in your calendar and was originally reported with Bug 336175. The HTML export was fixed with Bug 368066. Marking as duplicate.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.