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

            Bug ID: 145372
           Summary: Cross References to Figures Do Not Update
           Product: LibreOffice
           Version: 7.2.2.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: a...@norsci.com

Description:
When working with a document that contains cross-references to figure numbers,
deleting the figures does not result in the references showing the "Error:
Reference source not found" text. Instead, the field shows the old number.
Using "Update Fields" or pressing F9 does not update them.

Steps to Reproduce:
1. Create a blank Writer document.
2. Insert 4 images.
3. Configure each image to be positioned as a character.
4. Add a caption to each image, which also adds a figure number field to each
one.
5. At the top of the document use the Insert>Cross-reference tool to insert
references to the figure numbers. This simple example just looks like "1 2 3 4"
where each number is a field.
6. Pick an image at random and delete it. While the figure numbering for the
remaining figures does update, the number for the one I deleted remains the
same. So, if I delete figure 2 from the document, the cross references now look
like "1 2 2 3". We *know* that the second reference is wrong, and clicking on
it goes no where, but it is not updated to show the "Error: Reference source
not found" message.
7. Clicking F9 or using the menu to "Update Fields" does not work. Saving the
document and opening it again seems to update the fields. Sometimes clicking
View>"Show Tracked Changes" is enough to update the missing field, but this
doesn't always work.

Actual Results:
The field text for a deleted field target retains the old value.

Expected Results:
The field text for a deleted field target should always show the "Error:
Reference source not found" message.


Reproducible: Always


User Profile Reset: No



Additional Info:
Please fix. This makes working on large documents with lots of cross references
to figures particularly painful.

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

Reply via email to