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

Review harness is overridden by perform harness on button click



The application is upgraded from 6.2 SP1 to 7.1.6 ,where on a radio button user have configured to load review harness by using custom script . But after review harness is loaded ,again a call is happening and it is overridden by perform harness . It was working in 6.2 but not working in 7.1.6 .

Root Cause

The root cause of this problem is software use/operation error. Customized control used to satisfy the requirement. <button> tag is used in the custom control.


The explanation for this behavior is as follows: 

The issue is due to type attribute for the <button> tag.
For IE 8 and later, the default value of the type attribute depends on the current document compatibility mode. In IE8 Standards mode, the default value is submit. In other compatibility modes and earlier versions of Windows Internet Explorer, the default value is button. 
From the above statement, you have not passed type attribute for button tag in the code. Below is the reference.
<button title='<pega:lookup property='.pyCaption' value ='Click Here To Open In Review Mode' />' onclick="OpenClaim('<pega:reference name="$save(strIViewURL)" />','<pega:reference name="$save(HarnessMode)"/>', '<pega:reference name="$save(HarnessName)"/>','<pega:reference name="$save(WithLock)"/>','<pega:reference name="$save(Key)"/>','<pega:reference name="$save(WOID)"/>')" >       <pega:lookup property='.pyButtonLabel' value ='CONTINUE' />       </button>
So, the default type attribute will be “type=Submit”. If type equals to submit on click of the continue button form will be submitted. And as you give onclick attribute to button, one more time onclick is getting triggerd. So two times call is going to server.

It is not reproduced in PRPC 6.2 because of portals will support only quirks mode not standards mode.


Published January 31, 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