Issue 3111 - Document destroyed upon saving
Summary: Document destroyed upon saving
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 641
Hardware: Other All
: P5 (lowest) Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-15 13:19 UTC by mgd
Modified: 2003-05-20 16:35 UTC (History)
1 user (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 mgd 2002-02-15 13:19:32 UTC
I've created a document and saved it in the new OpenOffice 6 Document Format. In then exported it as 

RTF to share it with non OpenOffice users. I stopped OpenOffice and relaunched it later to 

continue work on my document. I regularly hit CTRL-S to save. So far all is fine.

Suddenly 
upon 
hitting CTRL-S I get the message that
"ATAQ Risk Betriebskonzept.sxw" (the file) does 
not 
exist.

Checking with the filesystem I realize that's correct. Before I can click "Save 
As" to 
save it under a new name OpenOffice vanishes from the screen and the taskbar. I've been 
looking for 
temporary files which might hold my document but have not been able to find 
any.

I then 
restarted OpenOffice hoping to get asked wether I wish to continue work with my 
unsaved document - 
nada.

Eventually I decide to resort to my (older) RTF-copy (lucky I have 
that one!).
Open the 
file, save as OpenOffice 6 Document -
Error saving the document ATAQ 
Risk 
Betriebskonzept.rtf:
General Error.
General input/output error.


Whatever 

features might be missing - destroying documents MUST NEVER happen, under no 

circumstances.

FWIW: with StarOffice 5.2 I never had any such 

problems.

Best,
Michael
Comment 1 mgd 2002-02-15 13:44:25 UTC
I think I now know what caused the problem:
the disk OpenOffice is installed on and to 
which I tried to save the document to was running low on diskspace due to another 
process filling it up...

However the OS partition still had lots of space left and 
OpenOffice should not just crash outright in such a situation.

Best,
Michael
Comment 2 dardhal 2002-03-06 19:54:35 UTC
I've suffered a _complete_ Writer document (.sxw) destruction with
exact the same symptoms described by the original reporter. OpenOffice
641C on Linux Debian Woody, kernel 2.4.18-pre2aa2, and OpenOffice
saving documents to an ext2 partition.

Document is (was ;) neither long (aproximately 25 text pages), not
complex (half a dozen PNG images, little else). Menu File->Save, the
disk starts spinning, progress bar goes on, but at some point the
process stops and the program displays a warning box saying "test.sxw
does not exist". I don't remember if pressed the button in the dialog,
but in any case, shortly the programs completely crashes.

A look to the directory where OpenOffice was saving the document shows
the original file "test.sxw", but zero bytes long.

I don't know what the problem could have been, but in my humble
opinion it would be important to double check that OpenOffice document
saving routines guarantee that either the file is _fully_ saved or no
changes are made to the original file on disk. Maybe saving files in
the way maildir(5) describes mail delivery is done for Maildir ("HOW A
MESSAGE IS DELIVERED") could help.

Comment 3 stefan.baltzer 2002-06-24 12:12:28 UTC
This behavior can not be limited to Word processing because the code
is the same for all applications => Changed component to framework.
Reassigned to Thorsten.
Comment 4 thorsten.martens 2002-07-02 11:55:09 UTC
This one was a known bug and has been fixed in the OO 1.0.1 which will
soon be available.
Comment 5 thorsten.ziehm 2003-05-20 16:17:57 UTC
This task is fixed or worked in OOo 1.1 beta2.
Comment 6 thorsten.ziehm 2003-05-20 16:35:36 UTC
closed ...