Bug 95285 - Numbered bibliography entries duplicate when inserted above previous entry
Summary: Numbered bibliography entries duplicate when inserted above previous entry
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 133266 143140 (view as bug list)
Depends on:
Blocks: Bibliography
  Show dependency treegraph
 
Reported: 2015-10-24 01:29 UTC by Chris Cameron
Modified: 2023-02-03 13:17 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Writer window showing duplicate citation numbers for different bibliography entries (422.22 KB, image/png)
2015-10-24 01:29 UTC, Chris Cameron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cameron 2015-10-24 01:29:02 UTC
Created attachment 119916 [details]
Writer window showing duplicate citation numbers for different bibliography entries

* Open a new document, put in several paragraphs of text
* Put cursor at end of the first paragraph
* Click "Insert", "Indexes and Tables", "Bibliography Entry"
* Click "From bibliography database"
* Select an entry, click "Insert"
* Put cursor at the end of the third paragraph
* Insert in a second citation for a different entry
* Close "Insert Bibliography Entry" window
* Put cursor on new line
* Click "Insert", "Indexes and Tables", "Indexes and Tables"
* For "Type" select "Bibliography"
* Check the box "Number entries"
* Click "OK"
* Insert a new, third citation after the second paragraph

For me, I see my citations now labeled [1],[2],[2]. If I put my cursor just in front of the third [2] and hit space, it'll change to [3].


I'd expect that all citations after the newly inserted citation would increment by one.
Comment 1 Buovjaga 2015-10-25 17:27:04 UTC
Reproduced.

Win 7 Pro 64-bit, Version: 5.0.2.2 (x64)
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: fi-FI (fi_FI)
Comment 2 QA Administrators 2017-09-01 11:16:42 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2019-12-03 14:50:00 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2021-07-17 15:48:53 UTC
*** Bug 143140 has been marked as a duplicate of this bug. ***
Comment 5 Dieter 2022-05-29 14:36:19 UTC
*** Bug 133266 has been marked as a duplicate of this bug. ***
Comment 6 Dieter 2022-05-29 14:39:36 UTC
Still present in

Version: 7.3.4.1 (x64) / LibreOffice Community
Build ID: 13668373362b52f6e3ebcaaecb031bd59a3ac66b
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

You can also use attachment 161267 [details] and insert a new index entry before an existing one to reproduce the problem.
Comment 7 dolezvo1 2023-02-03 13:17:04 UTC
I believe updating all citation numbers can be done with Tools>Update>Update All, but I don't see a reason why it shouldn't be done automatically.