Page 1 of 1
[SOLVED] 1.9.1 with IE8
Posted: Mon Feb 07, 2011 2:22 pm
by edv_harry
Hello,
when i will open a test report from a testplan i get this error "object doesn´t support property or method", execTree.js, Code:0, Line 132, Char.5
But, then i cannot open the report, the link to the report is not visible.
With firefox 3.6.13 it is working fine.
Is this a problem from bugzilla ?
best regards
Sven
Re: 1.9.1 with IE8
Posted: Mon Feb 07, 2011 2:29 pm
by edv_harry
Hello,
i have found the bug
in the file execTree.js on line 132 you must change "tree = new Tree.TreePanel({" to "var tree = new Tree.TreePanel({"
and it is working fine
best regards
Sven
Re: [SOLVED] 1.9.1 with IE8
Posted: Wed Feb 09, 2011 10:48 am
by mam
Hi,
a few weeks ago i had the same mistake.
My first solution looked exactly like yours. But then i found a few unwanted side effects. This code is called from several locations and sometimes "tree" is defined and sometimes not. And redefine tree is not very good.
My current solution: Add this before line 132:
Code: Select all
if (typeof tree === "undefined")
{
var tree;
}
Seems to work with Firefox, IE8 and Chrome.
Re: [SOLVED] 1.9.1 with IE8
Posted: Wed Feb 09, 2011 2:04 pm
by fman
this is problem of using forum this fix will be never incorporated to code -> report on mantis for issues ALWAYS
Re: [SOLVED] 1.9.1 with IE8
Posted: Tue Feb 15, 2011 9:40 am
by edv_harry
Thanks,
is working fine.
Sven
Re: [SOLVED] 1.9.1 with IE8
Posted: Sun May 08, 2011 2:24 pm
by pablo.bitton
this fix should be also in:
execTreeWithMenu.js after line 131
tcTree.js after line 166
treebyloader.js after line 346