Apache OpenOffice (AOO) Bugzilla – Issue 111290
Better protection for file if crash occurs
Last modified: 2017-05-20 10:01:11 UTC
Hello, If a crash occurs, it often happens that OOO can't recover the file. The file is damaged: zip is corrupted and/or content.xml size is 0. Why OOo don't work on a copy? The steps would be: - user open a ODF document - OOo rename .od* in .tmp and copy .tmp in .od* - if user save the document - OOo delete .tmp, rename .*od* in .tmp and copy .tmp in .od* - if user close the document - OOo delete .tmp This could prevent the problem (see URL above). If a system error occurs, power ends or crash OOo and corrupt the .od*, user can recover the previous version to rename .tmp in .od*. This could improve security cause many users forgot to check "Always create backup copy" option.
*** Issue 111290 has been confirmed by votes. ***
Hello, In addition of making OOo to work on a copy, the security could be easily enhanced by SETTING THE "Always create backup copy" OPTION BY DEFAULT! Beginners don't know this option and always come on the OOoforum after a crash when it is too late!
For the record: https://issues.apache.org/ooo/show_bug.cgi?id=107847
This is being marked as a duplicate of Issue 126869 for the purposes of collecting all defects of this kind under a single umbrella for analysis. (Confirming by votes is peculiar but there is no doubt that this problem exists.) Here, resolution does not mean there is a conclusion, merely that we are combining issues. *** This issue has been marked as a duplicate of issue 126869 ***
Changed from Feature to Defect, although a proposed fix was made here.