[Libreoffice-bugs] [Bug 139253] New: Revert "insert section" corrupts all cross references, if anchor was in section.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 27 10:33:23 UTC 2020


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: notebook22312 at gmail.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201227/c7ba6de5/attachment.htm>


More information about the Libreoffice-bugs mailing list