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

            Bug ID: 139253
           Summary: Revert "insert section" corrupts all cross references,
                    if anchor was in section.
           Product: LibreOffice
           Version: 7.0.3.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Summary
=======
If you put an "anchor element" (something, that you can cross reference) inside
a section (mark->insert section) and then revert the action of inserting a
section, all references to that anchor will become invalid.


Reproduce
==========

1. Create a numbered element (e.g. a numbered list)
2. Create a cross reference to that numbered element
3. Select everything and execute `Insert`-> `Section...` -> `Ok`
4. (Everything gets put in a section)
5. Press Ctrl+Z to revert the inserted section
6. Mark everything and press F9 to refresh all references
7. ACTUAL: The references became invalid
7. EXPECTED: References don't change / don't become invalid

The actual result is irreversible. All references are marked as "Error.
Reference source not found". It's impossible to easily restore references
except, if an older version of the document exists.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to