Testopia won't load in IE - get two JavaScript errors

UNCONFIRMED
Assigned to

Status

Testopia
General
--
major
UNCONFIRMED
8 years ago
7 years ago

People

(Reporter: Kevin R. Ballard, Assigned: Greg Hendricks)

Tracking

Details

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
Build Identifier: IE8

When you try to load a test run in Internet Explorer, you get two JavaScript errors, and Testopia won't even load in the page.

Reproducible: Always

Steps to Reproduce:
1. Open Testopia in IE

Actual Results:  
Get the following errors:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 2 Dec 2010 17:03:06 UTC


Message: Object doesn't support this property or method
Line: 7
Char: 1806
Code: 0
URI: http://apollo2.mainman.dcs/bugzilla/extensions/Testopia/extjs/adapter/ext/ext-base.js


Message: Object expected
Line: 1
Char: 101060
Code: 0
URI: http://apollo2.mainman.dcs/bugzilla/extensions/Testopia/testopia.all.ycomp.js

Expected Results:  
Should load

Comment 1

7 years ago
I also get this result after upgrading from BZ3.2 and Testopia 2.2. It works in Firefox, but IE8 fails as specified above, and also in IE7 compatibility mode.

I found that patching ext-base.js fixed the problem. I replaced:

   if(Ext.isIE&&D.hasOwnProperty("toString"))

with

   if(Ext.isIE&&D.hasOwnProperty&&D.hasOwnProperty("toString"))

As such this seems like an ExtJS issue?
Hope this helps,
Dean

Comment 2

7 years ago
I was having same problem too.
And found out this:-

replace same place with

  D.toString

It seems that it has better result.

Hope this works,
Naoya
You need to log in before you can comment on or make changes to this bug.