Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Modal Dialog Submit Issue with Pega 7.1.7

SA-21839

Summary



User has defined Property-set-message method in activity  and configured at post processing of the flow action to trigger the activity on submit of the modal dialog.

User could see that the property set message is fired on click of submit, but the modal dialog is getting submitted which should not happen.

Property set message on a property of the page prevents the page from getting saved into DB hence as per the behavior, the Modal dialog should not be submitted on clicking of submit button. Modal dialog should stay on the page with error message, However, it is getting closed.


Error Messages



No error message.


Steps to Reproduce

  1. Create a activity with property-set-messages method.
  2. Create a section and configure a link to launch modal dialog on click.
  3. Configure the activity on post processing of flowaction for modal dialog.
  4. Launch the modal dialog and click submit.


Root Cause



A software use or operation error: The onclick event is not getting triggered for the submit button of the modal dialog. At times it triggered, It is giving bad response of the ajax call.

Resolution



Perform the following local-change:

1) Replace Property-Set-Messages method with Page-Set-Messages.
2) User label control to display error message on the property.

 

Published April 6, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us