-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Creating or editing a group of cited entries triggers "Library has been modified by another program." whenever saving the library subsequently #6420
Comments
Maybe the color code changes upon saving? (I slightly remember there was something like that in the code...) |
I've tried to find some differences in the variable
but there is quite a lot information contained. I could not find any differences, only things which are equal. |
What I could find is that in "metadata change", the |
@ #6420 (comment) What you you mean by the "subscribers" for the metadata change? What's the content of
|
The content of
looks as follows: The content of
is: The subscribers I was talking about were at (but probably irrelevant): |
|
Thanks for the investigation. It's strange. I don't see any problems with the equals method of the groups: jabref/src/main/java/org/jabref/model/groups/AbstractGroup.java Lines 58 to 60 in 4e220f6
It's also strange that you experience this problem since bc57d22, since this change doesn't touch anything that is relevant for the group diff. Can you please have a closer look and see which groups fail the equality check (and why). |
@tobiasdiez I have concretized the description and reproducibility of the issue in its description #6420 (comment). Can you reproduce it this way? |
@tobiasdiez You are right about commit bc57d22. It is not the cause of this issue. I have tested this issue before this commit now and it persists. (Sorry for the confusion.) |
For the case, where an
where
More concretely, it's finally the filePath which causes the problem at:
|
Tested with the latest JabRef development version (master branch) on Ubuntu 16.04
Steps to reproduce the behavior (creating group):
*.aux
file*.aux
file and leaving this field empty allows reproducing it as wellObservation:
After saving the library, the message "Library has been modified by another program." shows up, asking either to choose "Dismiss changes" or "Review changes". When such a group has been created (or updated), then this message appears whenever the library is changed and gets saved.
Steps to reproduce the behavior (editing group):
After restarting JabRef and opening the previously opened library the aforementioned issue does not arise until one does the following (or one repeats the steps above):
4.1. Either click "Cancel" or "OK" (it does not matter)
Observation:
After saving the library, the same issue as described above arises.
Remark:
As stated in #6394, groups of cited entries also have another issue.
Removal of issue:
Observation:
The issue vanishes.
The text was updated successfully, but these errors were encountered: