-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
PostgreSQL unique constraint violation when editing an entry #12167
Comments
Btw, the same seems to be true for the "Comments" field. Also, quite consistently, the postgres server in the background takes 100% CPU for a while, but it stops at some point (... or hmm, perhaps it keeps running).
|
Closing the corresponding file stops the postgres daemon from hazarding but throws (obviously) an exception
|
I can confirm this when editing an entry and inserting somethingin a comment:
|
@Siedlerchr Thanks for confirming. Also, in the meanwhile, I am wondering whether this issue is a side effect of #12190? |
From this discussion it seems that this happens when the sequence is out of sync https://stackoverflow.com/questions/4448340/postgresql-duplicate-key-violates-unique-constraint |
Ok, this issue seems to be fixed for me with the @LoayGhreeb 's PR. |
JabRef version
Latest development branch build (please note build date below)
Operating system
GNU / Linux
Details on version and operating system
Linux Mint Debian 12
Checked with the latest development build (copy version output from About dialog)
Steps to reproduce the behaviour
Appendix
...
Log File
The text was updated successfully, but these errors were encountered: