Support Article
UI crashes when launching intents from suggestion list
SA-10754
Summary
While launching the intents from suggestion or to-list, an empty tab creates with the crashed UI, this issue happens sporodically.
Error Messages
Log Message:
2015-05-28 07:35:28,706 [ WebContainer : 5] [WorkThread] [ SvcDsktp:01.01.44] ( mgmt.base.ThreadUITransaction) ERROR modl-sd.xxx.xxxxxx.com|172.27.43.xxx T61J4T4 - ERROR: posted transaction id '8e57d5248f2371df3011ad6d9a48bdef' for frame 'pyWorkPage' DOES NOT match record '828bc2db6e4a80ad98dddc5d79a0ee35'
2015-05-28 07:35:56,801 [ WebContainer : 7] [WorkThread] [ SvcDsktp:01.01.44] ( mgmt.util.URLAccessContext) WARN modl-sd.xxxrp.xxxxxx.com|172.xx.43.xxx - URLAccessModeWarn:URLAccessPermitted URLAccessDetail CSRFAttack Missing harness ID :From @baseclass.doUIAction display :CVG 1 0 0 0 0 :MQD className=PegaCA-Portal&CPMAction=ShowCompositeTab&action=display&pyActivity=%40baseclass.doUIAction&harnessName=ContractCompositeHarness&PreDisplayActivity=RefreshComposite
Steps to Reproduce
1. Add couple of intents to suggestion list and add some to to-do list.
2. Launch the interaction driver.
3. Launch the wrap up.
4. Try to launch the intent from suggestion list immediately.
Root Cause
The root cause of this problem is defect/misconfiguration in the operating environment.
The reported behavior occurs as a negative testing, user clicks on two links very rapidly and thus ajax response of first is not complated and second is executed, so transaction mismatch happens.
Resolution
This issue is resolved through the following local-change:
Update the user workform to add JS function snippet to show busy indicator and call this function on click of wrapup.
This restricts user to click on other todo tasks immediately and break the system. Following is the code snippet:
---------script tags starts-----
pega.u.d.busyIndInterval = 0;
setWheel = function() {
pega.u.d.busyIndInterval = 0;
var divActionArea = pega.u.d.getSectionByName("CPMTakeActionArea","", document);
pega.u.d.setBusyIndicator(divActionArea , true);
}
</script>
In the CPMWrapupControl section, for the wrapup button, add event to call setWheel function at the start and call pega.u.d.gBusyInd.hide in the end.
Published June 30, 2015 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.