Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Basic open file with random access erases all data | ||
---|---|---|---|
Product: | App Dev | Reporter: | Regina Henschel <rb.henschel> |
Component: | scripting | Assignee: | ab |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | damjan, issues |
Version: | 3.3.0 or older (OOo) | Keywords: | data_loss |
Target Milestone: | 4.2.0 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | 4.2.0-dev |
Developer Difficulty: | --- |
Description
Regina Henschel
2006-01-28 22:38:48 UTC
TM->JSK: Please have a look, thanks ! dataloss makes p2, target 2.0.4, too late for 2.0.3 ab -> jsk: Please avoid exaggerated priorities. This is no P2 in the sense of the guidelines in http://www.openoffice.org/scdocs/ddIssues_EnterModify.html#priority that says "P2 marks severe problems which affect a significant number of customers". How many customers could have been affected by a problem that has been undetected for years (bug still exists in SO 7.0!)? And in this special case the problem will be found by the macro programmer when testing his Basic macro before the macro is really used. Anyway, if the fix is easy I have no problem to do it for 2.0.4. -> P3 -> 2.x due to code freeze and limited resources basic and scripting issues now should be assigned to component "scripting" set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x Fixed by commit 1712377: #i61277# Basic open file with random access erases all data. StarBasic tries to emulate truncation of files opened for writing by deleting them before opening them (if they exist). However there are exclusion to the truncation behaviour when the file is opened in append mode or is a binary file. Another exclusion - that was missing with disasterous consequences - is that the file should not be truncated when opened in random access mode. |