Bug 118673 - Cross reference category disappears when a comment is placed in the caption category
Summary: Cross reference category disappears when a comment is placed in the caption c...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Fields-Cross-Reference
  Show dependency treegraph
 
Reported: 2018-07-10 15:47 UTC by wolfgang.fuchs
Modified: 2018-07-31 12:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example of the described bug (10.91 KB, application/vnd.oasis.opendocument.text)
2018-07-10 15:49 UTC, wolfgang.fuchs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wolfgang.fuchs 2018-07-10 15:47:59 UTC
Description:
When a comment is placed in the category name of a caption, the category disappears in all cross references that use category.
For example, when a comment is added to the word "Table" in the caption "Table 1: <Caption Text>", then all cross references which should display "Table 1" will instead display only "1". As soon as the comment is removed, the cross reference will correctly display "Table 1"

Steps to Reproduce:
1. Create a table.
2. Add a caption.
3. Insert a cross reference to the table, using "Category and Number"
4. Add a comment to the word "Table" in the caption.

Actual Results:
The cross reference will display "1" instead of "Table 1" as soon as the comment is added.

Expected Results:
The cross reference should not be affected by a comment to the caption.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Comment 1 wolfgang.fuchs 2018-07-10 15:49:35 UTC
Created attachment 143431 [details]
example of the described bug
Comment 2 Timur 2018-07-10 17:05:56 UTC
Repro 6.2+