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)
Version:
(earliest affected)
3.5.0 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: Bibliography DOCX
  Show dependency treegraph
 
Reported: 2017-01-16 14:50 UTC by Kamil Páral
Modified: 2019-05-06 13:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


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

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
Description:
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
libreoffice-writer-5.2.3.3-11.fc25.x86_64



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
I also reproduced this bug with LO 5.3.0.0-7.beta2 from Fedora Rawhide.
Comment 5 Buovjaga 2017-01-24 10:19:45 UTC
Reproduced.

Win 7 Pro 64-bit Version: 5.4.0.0.alpha0+
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
Any chance of having this fixed soon? It's a major regression, seems to me, it corrupts all doc/docx files containing bibliography. That prevents me and probably a lot of other people from using LibreOffice at all.
Comment 7 Buovjaga 2017-02-20 14:56:06 UTC
(In reply to Kamil Páral from comment #6)
> Any chance of having this fixed soon? It's a major regression, seems to me,
> it corrupts all doc/docx files containing bibliography. That prevents me and
> probably a lot of other people from using LibreOffice at all.

How can it be a regression, though, when I could reproduce it with version 3.5?
Comment 8 Kamil Páral 2017-02-20 15:03:39 UTC
It's a regression because it used to work fine in older versions. I can't say exactly which, but I'm quite sure the problem wasn't there in the past.
Comment 9 Buovjaga 2017-02-20 16:00:10 UTC
(In reply to Kamil Páral from comment #8)
> It's a regression because it used to work fine in older versions. I can't
> say exactly which, but I'm quite sure the problem wasn't there in the past.

Well, here are the old versions: https://downloadarchive.documentfoundation.org/libreoffice/old/
Instructions for parallel installs: https://wiki.documentfoundation.org/Installing_in_parallel/Linux

However, as the problem is already in 3.5, the regression cannot be bisected (=find out what caused the problem), because our binary bisection repositories stop at 3.5.
Comment 10 Kamil Páral 2017-02-20 16:22:25 UTC
Doh, I confused "3.5" with "5.3". If you really reproduced this with 3.5, then it seems I'm very clearly wrong, because that's from 2012, and therefore this is not a recent (last year or so) regression.
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
Still broken in LO 6.0.3.2.
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
Still broken in LO 6.2.3.2.