Bug 105367 - FILESAVE Bibliography not saved properly in doc and docx
Summary: FILESAVE Bibliography not saved properly in doc and docx
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.0 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
Keywords: dataLoss, filter:docx
: 127185 138090 143139 (view as bug list)
Depends on:
Blocks: Bibliography DOCX
  Show dependency treegraph
Reported: 2017-01-16 14:50 UTC by Kamil Páral
Modified: 2023-08-05 16:05 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

odt with some bibliography (8.98 KB, application/vnd.oasis.opendocument.text)
2017-01-16 14:51 UTC, Kamil Páral
odt converted to doc (broken biblio) (9.00 KB, application/msword)
2017-01-16 14:51 UTC, Kamil Páral
odt converted to docx (broken biblio) (4.29 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-01-16 14:52 UTC, Kamil Páral

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Páral 2017-01-16 14:50:39 UTC
If you have some bibliography entries present in your odt file and save it as doc or docx, you lose all bibliography. The actual text of those bibliography entries and index is still present (mostly), but the "metadata" are lost, so you can no longer insert the entries, update the entries or update the index. Simply put, it gets converted to a plain text.

Steps to Reproduce:
1. use the attached .odt file or create a new file by inserting new document-local bibliography entry and add a bibliography index
2. save the document as doc and docx (or see the attached documents)

Actual Results:  
For doc:
You can't right click on biblio entries or index and see "bibliography entry" or "edit/update index" menu items. If you add a new index, it's empty. LO is not aware of any biblio in the document.
For docx:
LO shows "[ CITATION  "ABC"]" instead of "[ABC]" for entries. If you try to edit it using the right click menu, you see that all the metadata except title are empty (author, year). If you click "update index" on the index, again all the metadata except title disappear.

Expected Results:
Doc and docx work the same way as odt.

Reproducible: Always

User Profile Reset: No, but I tried this on several different computers (same OS, different users).

Additional Info:
Fedora 25

User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Comment 1 Kamil Páral 2017-01-16 14:51:09 UTC
Created attachment 130474 [details]
odt with some bibliography
Comment 2 Kamil Páral 2017-01-16 14:51:39 UTC
Created attachment 130475 [details]
odt converted to doc (broken biblio)
Comment 3 Kamil Páral 2017-01-16 14:52:01 UTC
Created attachment 130476 [details]
odt converted to docx (broken biblio)
Comment 4 Kamil Páral 2017-01-16 15:31:04 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2017-01-24 10:19:45 UTC

Win 7 Pro 64-bit Version:
Build ID: 1c27286b9d5331634c073cd3e327bd941e61bbb6
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2017-01-23_03:24:17
Locale: fi-FI (fi_FI); Calc: group

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 6 Kamil Páral 2017-02-20 14:45:30 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2017-02-20 14:56:06 UTC Comment hidden (obsolete)
Comment 8 Kamil Páral 2017-02-20 15:03:39 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2017-02-20 16:00:10 UTC Comment hidden (obsolete)
Comment 10 Kamil Páral 2017-02-20 16:22:25 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2018-05-03 02:41:49 UTC Comment hidden (obsolete)
Comment 12 Kamil Páral 2018-05-03 08:29:00 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2019-05-04 02:56:58 UTC Comment hidden (obsolete)
Comment 14 Kamil Páral 2019-05-06 13:01:11 UTC Comment hidden (obsolete)
Comment 15 Dieter 2019-09-03 09:11:49 UTC
Also repro with

Version: (x64)
Build ID: 01837a85004a6f891a09c0a63ed7eff75d634827
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-01_00:07:05
Locale: en-GB (de_DE); UI-Language: en-US
Calc: threaded
Comment 16 Dieter 2019-09-03 09:12:42 UTC
*** Bug 127185 has been marked as a duplicate of this bug. ***
Comment 17 dav9597 2019-09-03 09:22:44 UTC Comment hidden (no-value)
Comment 18 dav9597 2019-09-23 12:47:18 UTC
Waiting for an official fix, I found a very bad workaround.
1 insert a bookmark in the word you use for the bibliography
2 write your notes at the end of the document
3 link the notes to the word via the cross references function
Comment 19 Xisco Faulí 2019-09-24 13:17:20 UTC
(In reply to Kamil Páral from comment #0)
> LO shows "[ CITATION  "ABC"]" instead of "[ABC]" for entries. 

This was fixed in https://cgit.freedesktop.org/libreoffice/core/commit/?id=417d993b8b8a86c019758ee0850e4b42967e2afa
Comment 20 dav9597 2019-09-24 13:25:04 UTC Comment hidden (obsolete)
Comment 21 Xisco Faulí 2019-09-24 13:26:59 UTC Comment hidden (obsolete)
Comment 22 Dieter 2020-12-07 07:19:44 UTC
*** Bug 138090 has been marked as a duplicate of this bug. ***
Comment 23 Buovjaga 2021-07-19 11:45:26 UTC
*** Bug 143139 has been marked as a duplicate of this bug. ***
Comment 24 QA Administrators 2023-07-20 03:17:28 UTC
Dear Kamil Páral,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team