You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/03/01 21:51:33 UTC

[Issue 126330] Adding comments to headers leads to an error in styles.xml corrupting the document

https://bz.apache.org/ooo/show_bug.cgi?id=126330

anthony <ce...@my.fit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cesposito2014@my.fit.edu

--- Comment #3 from anthony <ce...@my.fit.edu> ---
I was successful in replicating this bug. In my tests of this issue I found
that multiple comments on header or footer text results in the corruption of
the saved documents styles.xml sub-document regardless of multiple page styles.
The corruption occurs from either multiple comments on text in a single header
and/or footer as well as the case of separate comments on text in separate
headers and/or footers separated by a change in page style. The corruption
occurs regardless of whether the same or separate words commented on. Comment
replies are not effected and neither are comments placed at a location in the
text as opposed to the comment being placed on a highlighted character string.
Combining a highlighted character string comment and a location or reply
comment does not result in a corruption either. This issue was replicated on
Windows 10 using Apache Open Office Writer Ver. 4.2.0, Build: 9800,
Rev:1692551.


Error Messages:

For header comments: (two comments to one header or one comment each on two
separate headers)

Read Error. Format error discovered in the file in sub-document styles.xml at
2,10683 (row,col).

For footer Comments: (two comments to one footer or one comment each on two
separate footers)

Read Error. Format error discovered in the file in sub-document styles.xml at
2,10684 (row,col).

For Both headers and footers: (one comment each on two separate headers and
footers)

Read Error. Format error discovered in the file in sub-document styles.xml at
2,11074 (row,col).

For Both headers and footers: (multiple comments on a single header and footer)

Read Error. Format error discovered in the file in sub-document styles.xml at
2,11075 (row,col).

Replication:

Multi-comments on a single Headers/footers:
1)    Open a new open office writer text doc.
2)    Add a header to the file via: Insert > Headers or Footer > Default
3)    Add some text to the header or footer
4)    Highlight the text and add a comment (crtl + alt + c)
5)    Highlight the same or another piece of text and add another comment (crtl
+ alt + c)
6)    Save the doc and close writer.
7)    Open the saved doc.

Multi-comments on multiple Headers/Footers:
1)    Open a new open office writer text doc.
2)    Open the page break options via: Inset > Manual break
3)    Select another style from the style selection drop box and select ok.
4)    Add headers or Footers to the file via: Insert > Headers or Footers > All
5)    Add some text to both headers or footers
6)    Highlight the text of one header or footer and add a comment (crtl + alt
+ c)
7)    Highlight the text of another header or footer and add another comment
(crtl + alt + c)
8)    Save the doc and close writer.
9)    Open the saved doc.

-- 
You are receiving this mail because:
You are the assignee for the issue.