Support Article
Launch local action does not work when clicked from link in grid
SA-72632
Summary
On configuring a link to launch a modal dialog and clicking the link, does not launch the modal dialog.
Error Messages
Error in Tracer: "java.lang.IndexOutOfBoundsException: The Reference pyWorkPage.prop.list(2) is not valid"Steps to Reproduce
- Configure a link on a grid column to run DataTransformation, Refresh-ThisSection, and launch local action.
- Open the case.
- Expand the grid layout to view subcases.
- Click the Comment link in the tree grid. Error displays.
Root Cause
A local action was configured on a grid that was bound to a read-only data page. The 'Disable work processing' was not checked in the local action setting. At runtime, the grid copied the row page to a new thread. Read-only data pages cannot be copied (even on threads). Hence, the exception at ProcessAction displayed.
Resolution
Perform the following local-change:
Modify the grid configuration as below,
Link actions > Run DataTransformation, RefreshCurrentRow, and Open-Localaction with 'Disable work processing'.
Published February 27, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.