Community
Participate
Working Groups
You can reproduce the bug in the following way: - Create a new Central Test Data - Add a new parameter - Add a data value in Data Sets Editor - Save - Change this exist value to empty (do not delete the row) - Save - Create a new Test Suite - Write something into the existing empty Data Sets field - Save -> you got the following error message: 2022: Object in use by another user
Perhaps the following bug is same: https://bugs.eclipse.org/bugs/show_bug.cgi?id=489372
*** Bug 489372 has been marked as a duplicate of this bug. ***
As discusses with AS.
New Gerrit change created: https://git.eclipse.org/r/68198
Gerrit change https://git.eclipse.org/r/68198 was merged to [8.2.2]. Commit: http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=02dec9671fd08bfbb15d10b179118e88cbde7891
Somehow there are empty Strings in the TestDataCellPO from the master session. My assumption is that this leads, when creating a new Test Case/Suite to a change of the version of the TestDataCellPO. Since the version changed the editor has now an old version of the TestDataCellPO and the optimistic lock exception is thrown. I have checked this multiple times, and it is just writing new empty Strings into the databases. We have decided not to use the @Version annotation for the TestDataCells which is used for the OptimisticLocking. This means the change done by our master session is not conflicting with the ones from the editor. I have also fixed two problems for a multi user environment which might lead to changed data even we get no locking for the Spec test cases(or for Central test data sets). This was happening when you tried to insert a new data set or move them. Than the data was inserted or moved even we had the message that we could not get locking for the Spec test case. This leads to an dirty editor and after saving this you had multiple unexpected errors.
I am not able to reproduce this issue