Support Article
Lock lost while editing the section opened from grid
SA-40579
Summary
User has configured a repeating grid and a link in that grid opens a modal dialog. On clicking a particular button from that modal dialog opens a section in an overlay.
When the user submits the content from overlay and tries to submit the modal dialog, then the lock lost error message comes up on the section.
Error Messages
"You have lost the lock! Please reopen the item to continue your work"

Steps to Reproduce
1. Configure a link in the repeating grid sourced from pagelist/report definition/datapage and the link configuration as below:

2. In the flow action "FlowActionForMD", configure a section that has few properties and button that on click opens an overlay.

3. Now, when the button is clicked to open the overlay and submit the overlay, the context comes back to the modal dialog and when the modal dialog submit button is clicked, it gives lock lost error.
Root Cause
- Launch Local Action should be used outside Grid (for example Grid Action Top) and runs in the Section context.
- List Open Local Action should be used inside a Grid and runs in the Grid row context.
Additionally, List Open Local Action has an option to enable or disable work processing (locking mechanism).
Resolution
Repeat Grid is essentially a list item type and so it is strongly recommended that user must choose from list item actions that is, open local action.

Published October 6, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.