Support Article
Modal dialog displays to discard changes made on review harness
SA-49063
Summary
Modal dialog window displays a message to discard changes made on the review harness screen. However, no changes are made on the review harness.
Error Messages
Not Applicable
Steps to Reproduce
- Configure a button in the review harness to launch a modal dialog.
- Provide inputs to the modal dialog and submit it.
- Close the work object.
Root Cause
This behavior is as per Pega product design. Modal dialog submission triggered the Reload section request.
Resolution
Perform the following local-change to clear the dirty state set:
- Create a non-auto-generated section and include the below code in the HTML tab of the section:
pega.u.d.gSectionReloaded = null
pega.u.d.gDirtyOverride = false - Include the above section in the issue section.
Published March 17, 2018 - 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.