Bug 473985 - "oocalc this-is-a-dir" finishes immediately
Summary: "oocalc this-is-a-dir" finishes immediately
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Tardon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-01 18:02 UTC by Horst H. von Brand
Modified: 2009-05-01 10:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-01 10:50:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenOffice.org 101274 0 None None None Never

Description Horst H. von Brand 2008-12-01 18:02:08 UTC
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):
openoffice.org-calc-3.0.0-9.11.fc11.x86_64

How reproducible:
Always

Steps to Reproduce:
1. mkdir somedir
2. oocalc somedir
3.
  
Actual results:
oocalc finishes immediately

Expected results:
An error message about wrong input? Create somedir.ods by default? Open an unnamed spreadsheet and tell user something is amiss?

Additional info:

Comment 1 Caolan McNamara 2008-12-01 23:06:27 UTC
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 

touch /tmp/not-there
oocalc /tmp/not-there

I get a crash, that should also be straight-forward to resolve and a good thing to do.

Comment 2 Horst H. von Brand 2008-12-08 18:38:37 UTC
Now openoffice.org-calc-3.0.1-12.3.fc11.1.x86_64

"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.

Comment 3 Horst H. von Brand 2008-12-12 17:11:01 UTC
openoffice.org-calc-3.0.1-13.2.fc11.x86_64, still as in #2

Comment 4 Caolan McNamara 2009-04-17 22:27:22 UTC
Any progress on this ? Feasible to fix, or impractically difficult ?

Comment 5 David Tardon 2009-04-22 13:55:52 UTC
Fix committed to F-11 and Rawhide. Will be in 3.1.0-10.3 .

Comment 6 Caolan McNamara 2009-05-01 10:50:16 UTC
I get "not a file" on it, good enough.


Note You need to log in before you can comment on or make changes to this bug.