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

Frozen Screen in IE11 & Chrome on pega user portal

SA-22407

Summary



Closing of the case is resulting in blank screen & screen freeze. After performing search using the deprecated control FindWork, when tried to close the case, screen freezes.

Error Messages



JS Exception: Permission Denied


Steps to Reproduce



1) Use FindWork search gadget and search for a case.
2) Observe a Permission Denied error in the logs/console.
3) Once the case is opened, try closing it.
4) Screen freezes without any intimation.

 

Root Cause



Usage of deprecated control is causing the issue. Requested to update the control and perform work-indexing.

Resolution

Requested developers to update the control and perform work-indexing. As a temporary work-around suggested the below code to be placed in UserWorkForm.

<script> 
$( document ).ready(function() { 

pega.util.Event.getListeners = function(el, sType) { 
var results=[], searchLists
try{ 
if (!sType) { 
searchLists = [listeners, unloadListeners]; 
} else if (sType === "unload") { 
searchLists = [unloadListeners]; 
} else { 
searchLists = [listeners]; 


var oEl = (pega.lang.isString(el)) ? this.getEl(el) : el; 

for (var j=0;j<searchLists.length; j=j+1) { 
var searchList = searchLists[j]; 
if (searchList) { 
for (var i=0,len=searchList.length; i<len ; ++i) { 
var l = searchList[i]; 
if ( l && l[this.EL] === oEl && 
(!sType || sType === l[this.TYPE]) ) { 
results.push({ 
type: l[this.TYPE], 
fn: l[this.FN], 
obj: l[this.OBJ], 
adjust: l[this.OVERRIDE], 
scope: l[this.ADJ_SCOPE], 
index: i 
}); 




}catch(e){} 
return (results.length) ? results : null; 

}); 
</script>

Published April 23, 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