Apache OpenOffice (AOO) Bugzilla – Issue 81066
Recover Document Corrupts Original Document
Last modified: 2007-09-20 12:16:06 UTC
This is a cloned task of issue 81033. I described in issue 81033 a crash when pasting an image inside a table. See the attached document for that issue. The bigger problem is, that, as the paste-operation triggered a crash, I was *unable to save* the document. Therefore, the existing document should be the last version *prior to the crash* and this should be still a *functioning* version! Unfortunately, after restarting OOo, the recovery tool started automatically and - as an unsuspecting user - I tried to recover the document. This followed again by a crash. However, after this misguided recovery, the existing document would crash OOo. The only logical explanation is that during the recovery, the document was *corrupted*! Because the document recovery obviously corrupts the document I strongly tend to assign a priority of 1 (P1) to this issue. This is really very *BAD*. The 'document-recovery' *SHALL NEVER* corrupt a document in a way that makes it unusable. Please note, that the file attached for issue 81033 continuously crashes OOo and is therefore unusable. IF the recovery creates a document that would crash OOo, the 'document-recovery' process shall leave the initial document *unaltered*. At least some of the data can be recovered this way! This is a serious bug and I hope that it gets fixed timely. Instead of recovering documents, the document recovery has the potential to permanently damage these same documents. This needs to be fixed.
Reassigned to ES.
The recovery didn't corrupt the document but restored the document (tmp file) in the corrupted state it was *after* inserting the picture. The recovery does not reload an backup of the file before the last action. To avoid this kind of problem, before everything goes wrong, use "Tools - Options - Load/Save - General - Always create backup copy"
closed