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

Submit button is enabled during screen reload

SA-12039

Summary



When the Submit button is clicked, the next screen reloads.

Ideally, the Submit button must be disabled when the screen is reloading. However, this does not happen, and the Submit button is still enabled, which is inappropriate.

A Transaction ID error arises in log when Submit button is double clicked.

Error Messages



This Action is not allowed as it is outside the current transaction.

Steps to Reproduce



Click on Submit.

The screen starts reloading, and Submit is enabled even during the reload.

Root Cause



The root cause of this problem is a defect in Pegasystems’ code or rules.

This issue happens only the Custom portal and not when CaseManager portal was launched.
 
In CaseManager portal when Submit was clicked, buttons in pyCaseActionAreaButtons that calls FinishAssignment, other buttons on the page were disabled.

The code snippet of Submit function defined in pega_ui_doc_submit, a JavaScript file is given below. This code was not executed because of which buttons were not disabled.

    ........
    if (document.forms.length > 0 && !(pega.u.NavigateTopHandler)) {
          this.setBusyState(objButton, strBusyText, null, event);
          this.setBusyIndicator();
    }
    .......

In CaseManager portal pega.u.NavigateTopHandler was undefined, and the code in if-block was run. In custom portal pega.u.NavigateTopHandler returned an object, and the if-block was skipped.

Resolution



The issue is resolved in Pega 7.1.9. Remove pega.u.NavigateTopHandler check from the if statement in the code snippet.

Published January 7, 2016 - Updated December 2, 2021

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