Bug 143139 - FILESAVE DOCX Broken bibliography
Summary: FILESAVE DOCX Broken bibliography
Status: RESOLVED DUPLICATE of bug 105367
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks:
 
Reported: 2021-06-30 18:00 UTC by Mihai Vasiliu
Modified: 2021-07-19 11:45 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Open the document and see that the bibliography index shows !!br0ken!! (5.66 KB, application/zip)
2021-06-30 18:01 UTC, Mihai Vasiliu
Details
Here is the document before exporting to docx (13.81 KB, application/vnd.oasis.opendocument.text)
2021-07-10 11:05 UTC, Mihai Vasiliu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Vasiliu 2021-06-30 18:00:46 UTC
Description:
When saving document to DOCX, bibliography links are broken and cannot be restored. They are lost.

Steps to Reproduce:
1. Create a new LO Writer document
2. Insert some Lorem Ipsum paragraphs
3. Create a few new bibliography entries with the source being Document content and insert them into the document.
4. Create a Bibliography Index at the end. The index should be populated fine. Edit the index and change the entries to 'Number entries' instead of short name display.
5. Save the document as DOCX and close LO Writer.
6. Open the document again. Notice that the bibliography references are missing the [ ] brackets.
7. Update the bibliography index.
8. Notice that all links are now broken: !!br0ken!!
4. 

Actual Results:
The bibliography index is now broken. All indexes are lost and the references are no longer in the document content. You must insert them manually again.
All the indexes in the Bibliography index show !!br0ken!!

Expected Results:
The bibliography index should remain the same. Nothing should be lost. The [ ] parantheses should remain in place.


Reproducible: Always


User Profile Reset: No



Additional Info:
This reproduces every time and seems to reproduce regardless number entries is checked or not. So short name entries will be affected too.
Comment 1 Mihai Vasiliu 2021-06-30 18:01:26 UTC
Created attachment 173296 [details]
Open the document and see that the bibliography index shows !!br0ken!!
Comment 2 Xisco Faulí 2021-07-07 10:05:13 UTC
Could you pleae attach the document as .ODT file before you export it to DOCX ?
Comment 3 Mihai Vasiliu 2021-07-10 11:05:13 UTC
Created attachment 173481 [details]
Here is the document before exporting to docx
Comment 4 Mihai Vasiliu 2021-07-10 11:14:02 UTC
Attched the requested document. If you export to docx, reopen and update bibliography index the links will be broken.
Comment 5 Buovjaga 2021-07-19 11:45:26 UTC
Repro br0ken after updating index. I think bug 105367 covers this.

NixOS
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: b1df9c67349cf4cc5be4128d797aefb87f50e38f
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded

Version: 7.1.4.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded

*** This bug has been marked as a duplicate of bug 105367 ***