JabRef version
Latest development branch build (please note build date below)
Operating system
Windows
Details on version and operating system
JabRef 5.6--2022-04-04--dbf921e Windows 10 10.0 amd64 Java 17.0.2 JavaFX 18+12
Checked with the latest development build
Steps to reproduce the behaviour
Follow up to #8641
How to reproduce:
- Have
options>preferenes>import and export>generate a new key for imported entries (overwriting their default) enabled.
- Have a customized key-pattern for the citation-key generator set in preferences.
- Have this preference set under citation-key generator preferences:

- import a DOI (e.g. 10.1080/1369118x.2017.1353641) via pasting (Grobid) or import dialogue (Do not have this key in your library yet).
- Change citationkey of the resulting entry
- import same DOI again.
- Entry Merge Dialogue emerges
- Choose the citationkey from right side (which is the new entry with the key from the web).
- Choose one of the buttons
Keep merged entry only, Import and remove old entry or Import and keep old entry
What happens:
One is not able to choose the right side key.

Keep merged entry only: key of new entry will have citationkey pattern applied (bad).
Import and keep old entry: key of new entry will have citationkey pattern applied (bad). An a is added to prevent duplicate (Good).
Import and remove old entry: key of new entry will have citationkey pattern applied (bad).
Appendix
No response
JabRef version
Latest development branch build (please note build date below)
Operating system
Windows
Details on version and operating system
JabRef 5.6--2022-04-04--dbf921e Windows 10 10.0 amd64 Java 17.0.2 JavaFX 18+12
Checked with the latest development build
Steps to reproduce the behaviour
Follow up to #8641
How to reproduce:
options>preferenes>import and export>generate a new key for imported entries (overwriting their default)enabled.Keep merged entry only,Import and remove old entryorImport and keep old entryWhat happens:
One is not able to choose the right side key.
Keep merged entry only: key of new entry will have citationkey pattern applied (bad).Import and keep old entry: key of new entry will have citationkey pattern applied (bad). Anais added to prevent duplicate (Good).Import and remove old entry: key of new entry will have citationkey pattern applied (bad).Appendix
No response