Issue 108559 - Saving a Calc file can fail on Unix
Summary: Saving a Calc file can fail on Unix
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOO320m10
Hardware: All Unix, all
: P2 Trivial (vote)
Target Milestone: OOo 3.2
Assignee: oc
QA Contact: issues@framework
URL:
Keywords: regression
Depends on:
Blocks: 99999
  Show dependency tree
 
Reported: 2010-01-21 20:07 UTC by niklas.nebel
Modified: 2017-05-20 10:24 UTC (History)
2 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 niklas.nebel 2010-01-21 20:07:47 UTC
On Unix platforms only:

1. Load a simple Calc document with several sheets (a saved empty document is
enough)
2. Input something into an empty cell on the first sheet
3. Wait for automatic saving
4. Save the file
5. Input something into another empty cell on the first sheet
3. Wait for automatic saving
4. Save the file again

Saving fails with a general input/output error, and office hangs.

This was broken in OOO320m9 with the integration of fwk134. In oslDoCopyFile, if
the source file is empty, file descriptor 0 is closed.
Comment 1 mikhail.voytenko 2010-01-22 08:34:33 UTC
Indeed, this was the problem. Additionally the target file was not created in
case an empty file was copied. Should be fixed now in cws calc32stopper9.
Comment 2 carsten.driesner 2010-01-22 08:50:05 UTC
cd: Fix reviewed and approved.
Comment 3 niklas.nebel 2010-01-22 09:54:37 UTC
Reassigning to QA for verification
Comment 4 oc 2010-01-22 12:52:18 UTC
verified in internal build cws_calc32stopper9
Comment 5 oc 2010-01-22 12:57:26 UTC
setting showstoppertarget
Comment 6 uwe.luebbers 2010-01-22 14:51:40 UTC
set keyword