-
-
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
Shared PostgreSQL database not fully syncing user inputs #6663
Comments
@abepolk Can you have a look? |
Sure! I'm actually in the final week of a coding bootcamp (a web development training class) and working on my final project, so at this moment I don't have time to write the fix. But I took a look, and it appears similar to a problem I ran into before. I think https://github.com/JabRef/jabref/blob/master/src/main/java/org/jabref/model/database/event/CoarseChangeFilter.java was meant to address this, but I don't think I ever fixed it. |
Thank you for caring for my problem with JabRef. May I ask if there is already a light at the end of the tunnel, i.e. the bug appears to be fixed in one of the next commits? Or is it still open? I'm sorry for being too impatient... At the moment, solving this issue decides whether my colleagues and I can use the software at all or not. |
My pleasure. I am not sure it is fixed - I do not remember fixing it myself. If anyone else wants to look into this, see my comment above and the comment before the one linked to. |
I had a look at the concerning File Thank you for kindly regarding my ideas. Maybe you can use them for a fix? |
Doesn't the JavaDoc indicate something? We kindly invite you to investigate further. All core developers are occupied by other tasks (more than the visible 306 isses). In case you don't have time, we have to hope that someone dives into here (or that enough money is coming in (via donations) that we can fund a developer. |
I'm not sure, but if I remember correctly a |
Finally, I set up IntelliJ by this documentation for testing some changes in JabRef source code. I have tried to change By omitting this condition, the database update process is only executed when a new entry is edited. Due to single-letter events this happens only when the first character has been typed - and not for all further characters. By omitting the second condition also, database is synchronized by every letter typed (no So my idea was to introduce a new class Is that idea basically possible and reasonable to add in this way? Of course, it does not work in JabRef at the moment... Maybe I have overseen a thing or an important scope limit. You can find some files attached to reproduce. Would it be possible for you to inspect and review my ideas? Thank you very much for your help. |
Thanks for your detailed analysis and your changes. It would be great if you could create a pull request with your changes. That makes it easier for us to see the changes and review the code |
It's been a while since I looked at this and I don't completely remember enough details to quickly respond, but thank you for picking up where I left off! I will review your code further if I have time. Feel free also to connect with me on LinkedIn and message me separately for help with Git or making a pull request if you're new. |
Thank you for your hints and help offering! At the moment, the changes does not work as intended... Do you have an idea? |
Thanks to you :-) this should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version. |
JabRef 5.1--2020-06-30--5f2b994
on Linux 4.12.14-lp151.28.52-default amd64 (openSUSE Leap 15.1)
with Java 14.0.1
I have tested the latest development version from http://builds.jabref.org/master/ and the problem persists
When I use shared PostgreSQL database, user inputs are not synced properly. Only the first character is saved to database.
Steps to reproduce the behavior:
New entries are properly synced if I copy it from another database (e.g. BIBTEX).
err_log.txt
log.txt
Apparently, JabRef constantly throws
java.net.SocketTimeoutExceptions
. See special errors when typing inputs at log excerpt below.Log File
The text was updated successfully, but these errors were encountered: