Bug 96323 - Writer corrupts file on save
Summary: Writer corrupts file on save
Status: RESOLVED DUPLICATE of bug 96147
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.0.3 rc
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-07 20:39 UTC by Paolo Meozzi
Modified: 2015-12-08 09:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The corrupted file (line 2, column 31791 of Content.xml) (58.30 KB, application/vnd.oasis.opendocument.text)
2015-12-07 20:39 UTC, Paolo Meozzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Meozzi 2015-12-07 20:39:03 UTC
Created attachment 121119 [details]
The corrupted file (line 2, column 31791 of Content.xml)

Occasionally Writer corrupts the file on save, without producing error messages.
In reading, LO displays the following message:

reading error, the sub document "content.xml" in xxx, xxx (row, col)

In my case, the error appears to be a duplication of an attribute on the background color: 
                         fo: background-color = "#ffffff"

at column 31971 of the file (line 2).

After eliminating a duplicate attribute, the file opens correctly.
But Writer continues occasionally to corrupt the file.
(The same problem had happened to me a month ago on another file, but I have with me the corrupt file.)
Comment 1 Maxim Monastirsky 2015-12-08 09:23:11 UTC

*** This bug has been marked as a duplicate of bug 96147 ***