Hello dear developer team,
i usually have multiple jabref-libraries open and edit them. Sometimes it happens, that the grouping of one library suddenly occurs in another library the original groups are removed, which is a bit of an annoyance. Entries which exist in both libraries are linked and others are removed from the groups. This has happended at least 2 times in the last year for me.
I was not able to reproduce this effect on purpose, so far. Maybe other users have experienced the same effect.
Kind regards.
It happened again under following conditions:
* User U1 has Library L1 and L2 open.
* Library L2 was edited by another user.
* User U1 accepts changes in L2.
* Library L1 is corrupted afterwards.
It must have to do with a bug in the review function.
Reproduction of the error:
* Open an Instance of JabRef, I1.
* Create 2 Databases, L1.bib, L2.bib.
* To L1 add an entry and add it to group G1.
* To L2 add an entry and add it to group G2.
* Open both databases in a second instance I2 of JabRef.
* In instance I1 create another entry in L1.bib and add it to group G1.
* Save database L1.bib.
* In instance I2 the review-screen appears.
* Click on libraray L2.bib (this is the critical step).
* Click on Review Changes while watching L2.bib.
* Accept changes.
* L2.bib now contains the grouping of L1.bib. G2 is gone and replaced by G1.
Possible Fixes:
* Before review switch to correct database.
* Only show review window for the current database.
* Apply changes to groups to the database which is reviewed.
Related: https://sourceforge.net/p/jabref/bugs/1010/