Closed koppor closed 2 years ago
Similar to https://github.com/JabRef/jabref/issues/895 ? Also similar to https://github.com/JabRef/jabref/issues/8354#issuecomment-1000281869 if it comes to running clean-up ops.
@koppor Do you have the Option "Generate new key for imported entries" under preferences -> import and export activated?
@Siedlerchr I think it has a different code path. Unless I screwed up, that preference did nothing when I tried this import option
@k3KAW8Pnf7mkmdSMPHz27 you are right. I dug a bit into the code.
The code from the NewEntryTypeViewModel should be copied/reused to make it consistent. I'm preparing a PR
The code in GenerateEntryFromIdAction: https://github.com/JabRef/jabref/blob/f0f7aa49765fe68b521cb0eb4ef43cd3e1e763af/src/main/java/org/jabref/gui/importer/GenerateEntryFromIdAction.java#L80-L95
When importing https://dx.doi.org/10.18417/emisa.4.1.1, the citation key is not generated, but used. That should be changed
Note: A few years ago, there was a strong discussion on that. This discussion should be found.