Bug 143150 - Brackets [] for bibliography reference lost on DOCX import (fine with DOC)
Summary: Brackets [] for bibliography reference lost on DOCX import (fine with DOC)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.3.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx
Depends on:
Blocks: Fields-Cross-Reference DOCX-Fields
  Show dependency treegraph
 
Reported: 2021-07-01 20:06 UTC by Telesto
Modified: 2021-07-19 08:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Example file (8.59 KB, application/vnd.oasis.opendocument.text)
2021-07-01 20:06 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-07-01 20:06:43 UTC
Description:
Brackets [] for bibliography reference lost on DOCX export (fine with DOC)

Steps to Reproduce:
1. Open the attached file
2. Save to DOCX
3. File reload (note the field lacking brackets

Actual Results:
Lacking brackets []

Expected Results:
Should be present (as in ODT and DOC)


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c38d0d501f5eca648bdf0fd2914b57e06f505f7e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in

Version: 6.3.7.0.0+ (x86)
Build ID: 726535ec30f12697ceccd2f0640d9371a64dc5bd
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

not in
Version: 6.2.5.0.0+
Build ID: 92400e8df9f704ac4856dbb85d8551a0488fd334
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Telesto 2021-07-01 20:06:59 UTC
Created attachment 173308 [details]
Example file
Comment 2 Buovjaga 2021-07-17 15:01:11 UTC
Repro

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
Comment 3 Timur 2021-07-19 08:09:06 UTC
If DOCX is open in MSO, both 6.2 and 6.3 are just 'abc' with no brackets, so not a regression, rather an incomplete fix.
I did a bibisect for change in LO. from '[CITATION  "abc"]' to 'abc'.

commit b918991be825ff993d8afdd1b740d4d7f7f28427
Date:   Thu Oct 10 15:49:05 2019 +0200
    source 420c306394ff781fb361f1fb12b5b993a67dd36b
    previous 4396bfa7c05b8578ed4ea54a6db85afc84e0a683

author	Xisco Fauli <xiscofauli@libreoffice.org>	2019-09-24 21:22:30 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2019-10-10 10:48:39 +0200
tdf#107784: DOCX Import: Show citation's title in fields (2nd take)

Underlying is bug 105367.
There it says that "[ CITATION  "ABC"]" instead of "[ABC]" was fixed, but it's not for brackets.