Red Hat Bugzilla – Bug 473985
"oocalc this-is-a-dir" finishes immediately
Last modified: 2009-05-01 06:50:16 EDT
Description of problem:
I wanted to create a spreadsheet with the name of an existing directory, and did the above. oocalc finished immediately, no error message or anything. If doing the same with a random file, it opens them as CSV formated (even if it makes no sense).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mkdir somedir
2. oocalc somedir
oocalc finishes immediately
An error message about wrong input? Create somedir.ods by default? Open an unnamed spreadsheet and tell user something is amiss?
caolanm->dtardon: want to take this one. Should be straight-forward. i.e.
oocalc /tmp/not-exist.ods gives "not-exist.ods does not exist"
so some similar error on trying to open a dir might be a good idea, and while we're at it see
I get a crash, that should also be straight-forward to resolve and a good thing to do.
"oocalc /tmp/not-there.ods gives "/tmp/not-there.ods does not exist", but twice.
"oocalc /tmp/empty" opens a dialog for opening a text file, and then opens an empty spreadsheet. This is fixed.
"oocalc /tmp" still exits immediately.
openoffice.org-calc-3.0.1-13.2.fc11.x86_64, still as in #2
Any progress on this ? Feasible to fix, or impractically difficult ?
Fix committed to F-11 and Rawhide. Will be in 3.1.0-10.3 .
I get "not a file" on it, good enough.