onFind forces to refresh the record when another user modified it
Description
This was reproduced in test.idempiere.org
Steps to reproduce
Login as SuperUser
Enter as GardenWorld Admin
Open the Sales Order Window and find record DocumentNo 80003
Open another browser window in incognito mode and navigate to idempiere webui
Login as GardenAdmin
Open the Sales Order Window and find record DocumentNo 80003
Modify the description
Click Save
The record is saved
Switch to the browser window used in step 1.
Still on the record Sales Order 80003, click on the find button
Expected results: As the user does not want to modify or use the current record but instead wants to find another one, the find window should be open and the user should be able to search.
Actual results: The find window is not open and an error message pops up -> "Current record was changed by another user, please ReQuery"
Environment
None
Attachments
2
12 Feb 2020, 05:40 PM
12 Feb 2020, 05:37 PM
Activity
Show:
Diego Ruiz February 12, 2020 at 5:41 PM
Hi @Carlos Ruiz,
Attached you can find the patch for your peer review.
This was reproduced in test.idempiere.org
Steps to reproduce
Login as SuperUser
Enter as GardenWorld Admin
Open the Sales Order Window and find record DocumentNo 80003
Open another browser window in incognito mode and navigate to idempiere webui
Login as GardenAdmin
Open the Sales Order Window and find record DocumentNo 80003
Modify the description
Click Save
The record is saved
Switch to the browser window used in step 1.
Still on the record Sales Order 80003, click on the find button
Expected results:
As the user does not want to modify or use the current record but instead wants to find another one, the find window should be open and the user should be able to search.
Actual results:
The find window is not open and an error message pops up -> "Current record was changed by another user, please ReQuery"