You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If 2 users edit the same material, a lost update is possible:
User 1 : Load the material M with property E1
User 2 : Load the material M with property E1
User 1 : change the property E1 -> E2
User 1 : Save the material M -> saved history : oldValue : E1, newValue: E2
User 2 : Change property E1 -> E3
User 2 : Save the material M -> saved history : oldValue : E1, newValue: E3
E1 is wrong in this case and should be E2.
The text was updated successfully, but these errors were encountered:
A possible solution would be to check before saving the history delta whether the "old value" has changed in the meantime and adjust the delta if necessary.
This (updating and saving) would have to be done within one transaction, i.e. in the same TransactionScope.
If 2 users edit the same material, a lost update is possible:
User 1 : Load the material M with property E1
User 2 : Load the material M with property E1
User 1 : change the property E1 -> E2
User 1 : Save the material M -> saved history : oldValue : E1, newValue: E2
User 2 : Change property E1 -> E3
User 2 : Save the material M -> saved history : oldValue : E1, newValue: E3
E1 is wrong in this case and should be E2.
The text was updated successfully, but these errors were encountered: