[SOLVED] 1.9.1 with IE8

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
edv_harry
Advanced user
Posts: 15
Joined: Wed Jun 02, 2010 2:04 pm

[SOLVED] 1.9.1 with IE8

Post 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
edv_harry
Advanced user
Posts: 15
Joined: Wed Jun 02, 2010 2:04 pm

Re: 1.9.1 with IE8

Post 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
mam
TestLink user
Posts: 2
Joined: Mon Jan 10, 2011 4:16 pm

Re: [SOLVED] 1.9.1 with IE8

Post 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.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: [SOLVED] 1.9.1 with IE8

Post by fman »

this is problem of using forum this fix will be never incorporated to code -> report on mantis for issues ALWAYS
edv_harry
Advanced user
Posts: 15
Joined: Wed Jun 02, 2010 2:04 pm

Re: [SOLVED] 1.9.1 with IE8

Post by edv_harry »

Thanks,

is working fine.


Sven
pablo.bitton
TestLink user
Posts: 2
Joined: Sun Jun 28, 2009 1:40 pm

Re: [SOLVED] 1.9.1 with IE8

Post by pablo.bitton »

this fix should be also in:
execTreeWithMenu.js after line 131
tcTree.js after line 166
treebyloader.js after line 346
Post Reply