Issue 115078 - Crash when opening files with nonstandard file extensions
Summary: Crash when opening files with nonstandard file extensions
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.2.1
Hardware: PC Linux, all
: P2 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 115079 (view as issue list)
Depends on:
Blocks:
 
Reported: 2010-10-15 12:35 UTC by psychonaut
Modified: 2017-05-20 10:33 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description psychonaut 2010-10-15 12:35:18 UTC
OpenOffice.org Calc crashes whenever the user attempts to open a spreadsheet
with a nonstandard filename extension, or without a filename extension.  This
problem occurs quite often when opening a spreadsheet which has been dynamically
generated and named by a web server.  For example, the popular MicroStrategy web
application lets users download dynamically generated HTML and Excel
spreadsheets, but it doesn't give these resources a filename extension.

Reproducibility: Always

Steps to reproduce:
1. Take an Excel (.xls) or HTML (.html) spreadsheet, and rename it to remove the
filename extension, or give it a nonstandard extension (such as .foo)
2. Use OpenOffice.org Calc to open the renamed file.  This can be done by via
the command line (e.g., "/usr/bin/oocalc some_spreadsheet.foo") or by File->Open
and selecting it with the file selection dialog.

Observed behaviour:
3. The OpenOffice.org Document Recovery pops up to say, "Due to an unexpected
error, OpenOffice.org crashed..."

Expected behaviour:
3. OpenOffice.org Calc should have successfully opened the file.

I think this problem may be unique to Calc.  I'm not able to reproduce the
problem in Writer.
Comment 1 ooo 2010-10-15 12:57:14 UTC
*** Issue 115079 has been marked as a duplicate of this issue. ***
Comment 2 Douglas Lenz 2013-11-10 20:10:28 UTC
You may test this procedure in Open Office version 4.01 Rev. 1524958 on your files, as it seems this issue has been remedied. Tested on this build and Calc can open files regardless of invalid file extensions or lack of extension.
Comment 3 Edwin Sharp 2013-11-17 17:40:49 UTC
foo file (originally xls) opens OK.

AOO410m1(Build:9750)  -  Rev. 1539999
2013-11-09_04:08:11 - Rev. 1540252
Debian