https://bugs.documentfoundation.org/show_bug.cgi?id=170457

            Bug ID: 170457
           Summary: FILESAVE DOCX: missing comments in comments1.xml - and
                    wrong start/end positions
           Product: LibreOffice
           Version: 4.3 all versions
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bisected, filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 104840, 112916

Created attachment 205157
  --> https://bugs.documentfoundation.org/attachment.cgi?id=205157&action=edit
ooo120405-1.docx: at least 5 of the 55 comments exhibit a problem

MS Word was reporting files as corrupt after they were round-tripped by LO.

Steps to reproduce:
-open ooo120405-1.docx in LO and save as DOCX
-try to open the round-tripped file in Microsoft Word

MS Word complains about something wrong with the comments.

This particular document was bisected to LO 4.3 with an editeng:sal_Bool->bool
commit, but that just exposed an existing problem (somehow).

This particular document has about 55 comments, but the highest r:id was 60, so
some numbers were skipped. Yet, document.xml referenced all 60 comments, and
thus we have a corrupt situation where a commentReference points to a
non-existent comment.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104840
[Bug 104840] [META] Saved DOC files that MS Word can't open
https://bugs.documentfoundation.org/show_bug.cgi?id=112916
[Bug 112916] [META] DOCX (OOXML) comment issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to