Search and Top Navigation
#8424 closed bug (notabug)
Opened July 04, 2012 05:31AM UTC
Closed July 21, 2012 08:41AM UTC
Last modified June 03, 2014 07:09PM UTC
Datepicker error with IE9 and swf object tag
Reported by: | deopard | Owned by: | deopard |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.21 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi I a using a datepicker and swfupload component.
Don't know if I should it right it in jquery core ticket.
So this is when the bug happens
1. Open the datepicker
2. Click on the swfUplad's upload button (Which is an object tag with several param tags inside which looks like this.)
<object id="SWFUpload_0" type="application/x-shockwave-flash" data="/Content/swfupload.swf?preventswfcaching=1341379483354" width="109" height="22" class="swfupload">
<param name="wmode" value="transparent">
<param name="movie" value="/Content/swfupload.swf?preventswfcaching=1341379483354">
<param name="quality" value="high"><param name="menu" value="false">
<param name="allowScriptAccess" value="always">
.... others
</object>
An exception "Missing instance data for this datepicker" occurs when I click on the object.
It doesn't happen in ff, chrome, ie 7 and ie 8.
When I debug the source, it looks like the errors happen when it tries to return the data value binded to the object by using $.data.
Attachments (0)
Change History (9)
Changed July 06, 2012 01:59PM UTC by comment:1
owner: | → deopard |
---|---|
status: | new → pending |
Changed July 21, 2012 08:41AM UTC by comment:2
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Changed February 21, 2013 09:23PM UTC by comment:4
We are also experiencing this bug using
jquery-1.8.3.min.js
jquery-ui-1.9.2.custom.min.js
jquery.uploadify-3.1.min.js
Changed February 22, 2013 01:59AM UTC by comment:5
Replying to [comment:4 richalger]:
We are also experiencing this bug using jquery-1.8.3.min.js jquery-ui-1.9.2.custom.min.js jquery.uploadify-3.1.min.js
Please provide a reduced test case if you'd like us to look into this. You can use this to get started http://jsfiddle.net/tj_vantoll/tRdpr/.
Changed June 03, 2014 06:05AM UTC by comment:6
I have created a simplified test case in JSFiddle to replicate this problem in IE9.
To replicate:
1. Load the JSFiddle
2. Click on SELECT FILES
3. Note that a file browser shows up
4. Click Cancel
5. Click on the datepicker
6. Click off of the datepicker
7. Click on SELECT FILES again
Expected:
The file browser shows up
Actual:
The file browser does not show up and instead, the console shows the following error: "SCRIPT5022: Missing instance data for this datepicker".
Note that the duplicate ticket #8993 may have already provided an answer as to why this is happening.
Changed June 03, 2014 01:48PM UTC by comment:7
Replying to [comment:6 wmwong]:
I have created a simplified test case in JSFiddle to replicate this problem in IE9. http://jsfiddle.net/Hpkuw/ To replicate: 1. Load the JSFiddle 2. Click on SELECT FILES 3. Note that a file browser shows up 4. Click Cancel 5. Click on the datepicker 6. Click off of the datepicker 7. Click on SELECT FILES again Expected: The file browser shows up Actual: The file browser does not show up and instead, the console shows the following error: "SCRIPT5022: Missing instance data for this datepicker". Note that the duplicate ticket #8993 may have already provided an answer as to why this is happening.
I'm trying to recreate this, but when I click on "Browse" on that fiddle in IE9 nothing happens. The script works fine in Chrome.
Changed June 03, 2014 04:42PM UTC by comment:8
Do you see Browse or SELECT FILES?
When you say nothing happens, are you referring to step 2 or step 7?
Are you seeing anything in the console log?
If it helps, I'm using Browser Mode IE9 and Document Mode IE9 standards, version 9.0.8112.16421 on a Windows 7 machine.
Changed June 03, 2014 07:09PM UTC by comment:9
Replying to [comment:8 wmwong]:
Do you see Browse or SELECT FILES? When you say nothing happens, are you referring to step 2 or step 7? Are you seeing anything in the console log? If it helps, I'm using Browser Mode IE9 and Document Mode IE9 standards, version 9.0.8112.16421 on a Windows 7 machine.
Ok I see it now. Thanks for clarifying. To look into this we'd need an example that doesn't use an external plugin, because I'm not sure what would delete the datepicker's data, but the external plugin seems like the most likely culprit. Regardless, this won't be a problem in the rewrite (which is in progress now), so we're unlikely to do anything about this until then. If this is adversely affecting you I'd use some sort of monkey patch technique like the one from #8993.
Can you please provide a reduced test case showing the problem?