Completed
Last Updated: 09 Dec 2014 15:17 by ADMIN
ADMIN
Cody
Created on: 09 Sep 2014 02:12
Type: Bug Report
0
UI of app becomes corrupted after Run To Here in FF
In a specific customers application, when you do Run To Here with FF as the default recorder, the center panel of the customers application becomes abnormally blank when the recorder attaches. The customers project to reproduce the problem will be attached to the internal bug report.
2 comments
ADMIN
Daniel Djambov
Posted on: 03 Dec 2014 11:18
Telerik: this issue is no longer valid with latest release, planned by Mid December 2014 - we have a new Recorder UI, that does not use iFrames and will not mess up such web sites.
ADMIN
Konstantin Petkov
Posted on: 21 Oct 2014 11:57
Hi, 

There is a custom script which throws exceptions executing over the recorder specific frames in Firefox. A major rework of the recorder is in progress though which will make this issue obsolete. Hopefully that can go live in the next few months. In the meantime  one can modify the script as a work-around, see below.

Regards!

/* This api is used to iterate over all active iframes and trigger condition evaluation.
* @portalDocument - document where the changes are reported by AJAX response.
*/
pega.ui.ChangeTracker.prototype.trackXThreadChanges = function(portalDocument) {
var iframes = portalDocument.getElementsByTagName("IFRAME");
var len = iframes.length;
for (var i=0; i<len ; i++){
var currentIframe = iframes[i];
if(currentIframe.offsetHeight == 0 || currentIframe.contentWindow == window || !currentIframe.contentWindow.pega){
continue;
}
if(currentIframe.contentWindow.pega.u && currentIframe.contentWindow.pega.u.d && currentIframe.contentWindow.pega.ui.ChangeTrackerMap.getTracker()){
this.evaluateConditionsOnXThread(currentIframe.contentWindow);
}
}
}