Bug 166312 - Only first occurrence of Bibliographic Entry field is renamed
Summary: Only first occurrence of Bibliographic Entry field is renamed
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Bibliography
  Show dependency treegraph
 
Reported: 2025-04-23 13:18 UTC by Uralion
Modified: 2026-01-25 15:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Rename bibliographic entry (35.81 KB, image/png)
2025-04-23 13:19 UTC, Uralion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uralion 2025-04-23 13:18:25 UTC
Description:
Hi!,
I found that:
Only the first occurrence of an Bibliographic Entry field in the text is renamed when changing its Short Name, all subsequent occurrences remain unchanged.

That is REALLY problematic as it breaks all coherence and strcuture in the text, citations and bibliography index.
 
I will attack a screenshot in the next message.
Thank you very much!

Steps to Reproduce:
1. Go to Insert/Table of Contents and Index/Bibliography Entry.../
2. Click twice on Insert button (so ARJ00 entry will be citated twice in the document)
3. Go to Insert/Table of Contents and Index/Table of Contents, Index or Bibliography.../ and just create Bibliography.
4. Right-click on the Bibliography Entry and click 'Biblograhpy Entry...'
5. Change its Short Name to 'ARJ00_renamed'

Actual Results:
Only the first occurrence of the citation field in the text is renamed.

Expected Results:
All occurrences of the citation field in the text are renamed.


Reproducible: Always


User Profile Reset: No

Additional Info:
-
Comment 1 Uralion 2025-04-23 13:19:38 UTC
Created attachment 200474 [details]
Rename bibliographic entry

Here it can be seen how only the first citation occurrence is renamed, and that creates a totally new entry in the Bibliographic index.
Comment 2 Mateusz Wlazłowski 2025-04-24 16:45:43 UTC
To me, the issue you are describing is not a bug, works as intended. You are editing a single item of the bibliography entry, not the source.

In Insert -> Table of Contents and Index -> Bibliography Entry... you can edit the source. Though, I have seen that the short name in there is not editable. I don't know why, personally I would make it editable. I believe you can file an enhancement request instead. In importance, when you click on "normal", there is the option for enhancement
Comment 3 Uralion 2025-04-24 17:37:17 UTC
Hi opp,
The problem is that not even current Bibliographic entries can be modified.
For example:
1. You insert a citation field.
2. Your change the Bibliographic entry Author(s) field to anything.
3. The Bibliographic Index is not updated.

So I am afraid it is going to be more complicated than expected, as not even been able to change Short name field would work.
Comment 4 Mateusz Wlazłowski 2025-04-24 22:30:37 UTC
You're right, there are some issues. In Index -> Bibliography Entry..., if you try to edit, the change is not saved.

Whereas when you right click on the bibliography entry to edit the item, there is a dialog to ask whether to save or not and it saves.




There is also a writer guide which can help if ever. I found there that there is a database bibliography in Tools > Bibliography Database

https://documentation.libreoffice.org/en/english-documentation/



Could you open a new bug report regarding that new issue that you found, and potentially others that you see ?
Thank you ! 

Ideally, if you could compare with the dev build 25.8. It looks like it works better
Comment 5 Uralion 2025-04-25 08:15:23 UTC
Thanks opp!
Yes, I was aware of the Bibliographic Database, however the same thing keeps happening: If you modify an entry there, it will not be reflected either in the Bibliographic Index or in the citations of the document.

Honestly, I don't even know how to write the new Feature Request, since it is a problem that LibreOffice currently does not allow a Bibliogrpahic Entry to be cited twice, and this issue seems to be deeply rooted in the code.
Comment 6 Uralion 2025-04-25 08:17:51 UTC
Note: When I say that it does not let you cite twice, I mean that it does not consider that there can be two fields of citations completely linked to each other, and both linked to the bibliographic entry.
Comment 7 Tasneem 2025-05-15 15:00:34 UTC
Thank you for reporting the bug. I can confirm that the bug is present in

Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded