Bug 72423

Summary: Endnotes out of sequence (when converting Footnotes to Endnotes) solved by reloading document with "Update links when loading" turned on
Product: LibreOffice Reporter: Mikel <mike>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: critical CC: cno
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: An extract from my book showing out-of-sequence endnotes.

Description Mikel 2013-12-07 00:41:44 UTC
I am writing a rather lengthy book (>450 pages) and recently decided to convert most of my footnotes to endnotes. I managed to accomplish this but, to my dismay, I discovered that the endnotes were out of order. Up to #74 they were fine but after 74 came 270 to 194 (i.e. in reverse order). After that came 130-134 then 154-159 then 242-261 and so on. I'm not even sure that all the endnotes were present. 

I have tried cutting and pasting one chapter at a time into a new document but the problem persists. However, removing and re-inserting the endnote works most of the time - but not always. At one time I thought that the bug occurred only when an end-note anchor was in a bulleted list but that does not seem to be the case.

An extract of the document, showing the out-of-order endnotes, is attached.
Comment 1 Mikel 2013-12-07 19:35:29 UTC
Created attachment 90428 [details]
An extract from my book showing out-of-sequence endnotes.

I added one chapter at a time until the bug showed up. The last chapter added was "Initiations and Siddhis".
Comment 2 Mikel 2013-12-13 02:01:17 UTC
Have discovered a work-around:
  Tools > Options > LibreOffice Writer > General...
  For "Update links when loading" select "Always" 
  ("Fields" & "Charts" are selected by default.)
  Close document
  Re-open document
Comment 3 Cor Nouws 2013-12-16 15:15:34 UTC
Hi MIkel,

thanks for both reporting and mentioning your sulotion.
I close this as WorksForMe and change the summary a bit for clarity

Regards,
Cor