onFind forces to refresh the record when another user modified it

Description

This was reproduced in test.idempiere.org

Steps to reproduce

  1. Login as SuperUser

  2. Enter as GardenWorld Admin

  3. Open the Sales Order Window and find record DocumentNo 80003

  4. Open another browser window in incognito mode and navigate to idempiere webui

  5. Login as GardenAdmin

  6. Open the Sales Order Window and find record DocumentNo 80003

  7. Modify the description

  8. Click Save

  9. The record is saved

  10. Switch to the browser window used in step 1.

  11. 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 ,

 

Attached you can find the patch for your peer review.

Best regards,

Diego Ruiz

Fixed

Details

Assignee

Reporter

Labels

Priority

Created February 12, 2020 at 5:37 PM
Updated April 1, 2020 at 3:28 PM
Resolved February 12, 2020 at 6:05 PM

Flag notifications