https://bugs.documentfoundation.org/show_bug.cgi?id=90330
Bug ID: 90330
Summary: Corruption of saved file when comment is deleted with
track changes
Product: LibreOffice
Version: 4.3.5.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
I'm working on a pretty large file, authoring for PacktPub, and I'm running in
to a pretty consistent issue.
The file is converted from a DOCX file, it has track changes turned on. It also
has a lot of comments. The file will work fine. However if I delete a comment,
save the file and re-open it. I get the error:
Read-Error.
Format error discovered in the file in sub-document content.xml at
2,6039(row,col).
If I extract the content.xml and run xmllint on it I get the error:
content.xml:2: parser error : Attribute office:name redefined
ame="__Annotation__2034_67113285111111" style:name="Table1"
style:family="table"
The first matching elements I find does indeed have 2 `office:name` element
attributes:
<style:style office:name="__Annotation__1877_671132851111111111111"
office:name="__Annotation__2034_67113285111111" style:name="Table1"
style:family="table">
<style:table-properties style:width="13.97cm" table:align="margins"
style:writing-mode="lr-tb"/>
</style:style>
Both `office:name` attribute values do refer to valid annotations. My solution
to fixing the file is to remove that element, but if I delete another comment
the problem arises again.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs