Support Article

Refresh on screen creates two work objects

SA-28948

Summary



In Pega 7 just after creating a new case, when a Right-Click Refresh happens, a new case gets created. 

Issue is only present in Internet Explorer browser.


Error Messages



Not applicable


Steps to Reproduce

  1. Create Interaction.
  2. Search Member.
  3. Right Click and Refresh.


Root Cause



If the right click refresh happens within the purview of iFrame then it will fire the iFrame SRC URL again.

In this particular scenario, when a new service case is created and when done a right click and refresh, it again fires the URL which creates a new work object.

Resolution




Here’s the explanation for the reported behavior: 

Right Click and Refresh on embedded iframe is not a supported configuration in PRPC.

Following are the few local-change options:
  • Suppress the context menu in the particular harness which has the iFrame: 
document.oncontextmenu = function(e){
return false;
}
  • To configure a right-click action -> show menu for the dynamic layout (div) which has iFrame. So, now when right-click is performed, Pega menu will be shown instead of the browser context-menu and one can have a Pega refresh instead of Browser refresh in the Pega menu.
  • To forewarn the users about the Right-Click Refresh option which will create a new case. 
  • Disable or remove the “refresh” option from the right-click Context Menu, so that users will not be able to use it. This would be valid only if the users of the application are limited.  

 

Published October 7, 2016 - Updated October 20, 2016

Have a question? Get answers now.

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