When changing the word "focussed" to "focus" on page 3 of a document, file is unable to save an returns the error:
Error in writing sub-document content.xml.
If I undo the change, the document save fine. This also happens for any time I try to correct text that has spelling mistakes. If I delete the word that has the spelling mistake I cannot save either. It seems that when there is an error identified and you try to change that error you are unable to save. Please note that I imported all the text from a Microsoft word document (.docx).
The error does not exist when trying to replicate in another document. Which is weird (and unhelpful.)
Unfortunately I'm unable to attach the file because the data is proprietary :S
Steps to reproduce:
Unable to save file when correcting spelling errors.
Being able to save file when correcting spelling errors.
Operating System: Windows 8
Version: 126.96.36.199 release
Looks like a duplicate of bug 60769? (I had the same error, for what it is worth.)
"Bug 60769 - FILEOPEN, FILESAVE, "Could not save document, error in writing sub document context.xml" then corrupt file." Sonds similar and seems fixed for 188.8.131.52. Can you please check.
Can you please also do a test for "Bug 60588 - Error in writing content.xml"
You can send your sample to me by mail, I will keep it confidential.
Also, on original doccument, could you let us know if when you check View > Comments if there are any comments present in the document, and if any are against a block of text.
Also, if the spelling correction you were attempting might have been inside a text block that was commented?
Created attachment 77556 [details]
.odt file demonstrating the error.
File originally saved OK. Make any change and LibreOffice will not save it.
My original comments seem to have been lost when I attached the .odt file.
The xxx.odt file has four comments, three of them highlighted (i.e., text selected, then a comment added, resulting in highlighted text next to the comment pointer.
xx.odt was successfully save by LO. But making any change now causes the error. Add a single character, then backspace, and you can't save the file again.
A lot of recent work on related issue against bug 60769, applied to final 4.0.2 buid and more recent daily builds.
Please indicate what OS and which build of LibreOffice you are using.
(In reply to comment #6)
> @Mike Dodd,
> A lot of recent work on related issue against bug 60769, applied to final
> 4.0.2 buid and more recent daily builds.
> Please indicate what OS and which build of LibreOffice you are using.
Windows XP Pro SP 3.
I downloaded and installed 4.02 (LibreOffice_4.0.2_Win_x86.msi) last night, but Help->About shows 184.108.40.206.
I will try the 4.0.2 installation again. Is there anything special I need to do to upgrade?
I re-installed 220.127.116.11, and now LO saves my test document, and even the huge document from which I extracted it, without problem.
Don't know why the installation didn't "take" last night, but now I'm running 18.104.22.168 for sure.
No additional details from OP. Resolving as duplicate of 60769 which has been closed as fixed at 4.0.2 final.
*** This bug has been marked as a duplicate of bug 60769 ***