Confirmation message is not displaying while closing edited WO
SummaryThe user has updated information in work object, now user is trying to close the work object with out save. Confirmation popup is not displaying to save or discard the change.
Steps to Reproduce
- Configure a case.
Root CauseA software use or operation error:
The user has set the pega.u.d.gDirtyOverride
property value to true in UserWorkForm, hence it is not displaying the confirmation popup as expected. After removing the code from UserWorkForm, now confirmation popup is displaying expected. However when user click discard button in that popup, it is again displaying the browser level confirmation message.
The user has customized the pyDirtyCheckConfirm section, for discard button with run script, it is resulting additional message from browser.
ResolutionPerform the following local-change:
After following below changes now it is working as expected:
- Removed the script from UserWorkForm to set the pega.u.d.gDirtyOverride property value.
- Changed the Discard button click action to cancel action from run script.
Published December 15, 2016 - Updated December 17, 2016