Ticket #3291 (closed bug: invalid)
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
Attachments
Change History
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: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
-
attachment
error.js
added
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: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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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