We have come across an issue with the Entity Lock. This problem probably doesn’t come up all that often but I thought I would report it in case this is a valid use case for someone out there.
If you setup an Entity Lock against an entity then login to the application as the same user in two different browser windows and open a record in window A, then open the same record in window B the record is locked in window B as expected. However if you close window A without logging out the record will remain locked in window B even after closing and re-opening the record.
I have confirmed this happens in the sample application which I will attach below.
Could you provide an exact sequence of steps to reproduce the issue?
I didn’t manage to see the problem: the product in the second window is editable as soon as I close the editor in first window and reopen the editor in the second window.
I closed the first window without closing the editor so the session was not properly closed. This may just be a side effect of browser sessions but one of our devs saw it and wanted me to check with you to see if this is maybe a bug.