Bug Tracker

Modify

Ticket #3291 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

Error with value == NaN

Reported by: Dr4g0nF1y Owned by:
Priority: minor Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc: Dr4g0nF1y, flesler
Blocking: Blocked by:

Description

jQuery-1.2.6

problem row : 1120 [code] if( set )

elem [ name ] = value; is NaN

code

Attachments

main.js Download (8.9 KB) - added by Dr4g0nF1y 5 years ago.
The script file that runs my website -- Error is IE only
error.js Download (875 bytes) - added by Dr4g0nF1y 5 years ago.
Short Version of the js-file. It's directly included and does not have external scripting on the HTML-file

Change History

Changed 5 years ago by Dr4g0nF1y

The script file that runs my website -- Error is IE only

comment:1 Changed 5 years ago by flesler

  • Cc Dr4g0nF1y, flesler added
  • need changed from Review to Test Case

Can you please provide a test case ? that is, a small html file with the minimum html/css/js necessary to reproduce the problem. Please keep it simple, the js you provide is way too long.

comment:2 follow-up: ↓ 3 Changed 5 years ago by flesler

  • Priority changed from blocker to minor

comment:3 in reply to: ↑ 2 Changed 5 years ago by Dr4g0nF1y

Replying to flesler:

I considered this error a blocker since it runs my website in IE useless.

Although I didn't use things I shouldn't or couldn't use. In FF it runs like a charm, but in IE I get an error that the action I want to run is not supported by the object.

After that I get an runtime error that is thrown at the code above. Checking wether the value is NaN and thus a getter instead of a setter, does not help.

Changed 5 years ago by Dr4g0nF1y

Short Version of the js-file. It's directly included and does not have external scripting on the HTML-file

comment:4 Changed 5 years ago by flesler

The priority is in relation to the framework, not to your personal work. Will try to check the test case as soon as I can. Thanks

comment:5 Changed 5 years ago by Dr4g0nF1y

 http://nieuw.motoerit.nl/

you can test here. it's the page that jams in IE

comment:6 Changed 5 years ago by Dr4g0nF1y

By using the microsoft script debugger, I found the culprit... it's an jQuery Plugin called "jMyCarousel".

If you have MSD, follow the callstack, and you'll see it.

Somewhere between the call for the "getcontent" and the error, the value of the function -which produces the error- get's to NaN.

comment:7 follow-up: ↓ 8 Changed 5 years ago by flesler

Then how come the 2nd js file attached doesn't call the plugin and you still mention an error ? That means error.js doesn't trigger any error ?

comment:8 in reply to: ↑ 7 Changed 5 years ago by Dr4g0nF1y

Replying to flesler:

Then how come the 2nd js file attached doesn't call the plugin and you still mention an error ? That means error.js doesn't trigger any error ?

That is because it is called in the first file. And at the time I didn't know that it was the plugin that caused the error.

But I guess that should be obvious. I understand that a smaller file is advised/prefered, but since not everyone can actually find the error, a little effort for the bigger file (or a request of the issueing url) is not useless.

I have rebuild my Internet Explorer version of the script, and thus can this ticket be closed. Not to my satisfaction, but that is not the cause of jQuery or it's developers but a 3rd party.

I thank you (all) for your time and effort.

comment:9 Changed 5 years ago by flesler

  • Status changed from new to closed
  • Resolution set to invalid

Ok, thanks.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.