Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert entry in an empty database leads to KeyCollisionException #991

Closed
koppor opened this issue Mar 18, 2016 · 0 comments
Closed

Insert entry in an empty database leads to KeyCollisionException #991

koppor opened this issue Mar 18, 2016 · 0 comments
Labels
bug Confirmed bugs or reports that are very likely to be bugs
Milestone

Comments

@koppor
Copy link
Member

koppor commented Mar 18, 2016

JabRef 3.3dev--snapshot--2016-03-18--master--57963f7 on Windows 10

When I delete an entry at a database and refetch the entry via the DOI to BibTeX converter, the entry is marked as duplicate in the fetch dialog.

Steps to repoduce:

  1. Create new database
  2. Search for 10.1007/978-3-642-36926-1_34 in the DOI to BibTeX fetcher.
  3. In the untitled dialog for adding entries, the arcticle appears
  4. Click "OK"
  5. Wrong behavior: The checkmark in "Keep" disappears
  6. Add the checkmark at "Keep"
  7. Click "OK" again
  8. Wrong beheavior: nothing shown at the UI
  9. Click "Cancel"
  10. Open Error console
Exception in thread "AWT-EventQueue-0" net.sf.jabref.model.database.KeyCollisionException: ID is already in use, please choose another
    at net.sf.jabref.model.database.BibDatabase.insertEntry(BibDatabase.java:163)
    at net.sf.jabref.gui.ImportInspectionDialog.generateKeys(ImportInspectionDialog.java:489)
@koppor koppor added the bug Confirmed bugs or reports that are very likely to be bugs label Mar 18, 2016
@koppor koppor added this to the v3.3 milestone Mar 18, 2016
@koppor koppor changed the title Insert entry in an empty database leads to KEyCollisionException Insert entry in an empty database leads to KeyCollisionException Mar 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs
Projects
None yet
Development

No branches or pull requests

1 participant