#9587 closed bug (fixed)
Cloning a div with an object causes error in IE8
Reported by: | Motty | Owned by: | Rick Waldron |
---|---|---|---|
Priority: | high | Milestone: | 1.6.3 |
Component: | manipulation | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When a div that contains an object is cloned in IE8, the following error is seen.
SCRIPT5007: Unable to get value of the property 'nodeType': object is null or undefined jquery-1.6.js, line 5769 character 2
This only happens in IE8 with jQuery version 1.5+. If I change this jsFiddle demo (http://jsfiddle.net/Mottie/zQxgH/) to jQuery version 1.4.4 or older, the error doesn't occur.
Change History (8)
comment:1 Changed 12 years ago by
Component: | unfiled → manipulation |
---|---|
Owner: | set to Rick Waldron |
Priority: | undecided → high |
Status: | new → assigned |
comment:2 Changed 12 years ago by
comment:5 Changed 12 years ago by
Experiencing this on IE9 (9.0.8112.16421) also. Hoping for a 1.5.x patch.
comment:6 Changed 12 years ago by
There will not be a 1.5.x patch as jQuery has just released 1.6.2 - you can expect this to land in 1.7
comment:7 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Merge pull request #412 from rwldrn/9587
jQuery.clone() check destination child nodes are not null. Fixes #9587
Changeset: b5a16ead1ae2b7449c442c151299f9f456c03942
comment:8 Changed 12 years ago by
Milestone: | 1.7 → 1.6.3 |
---|
Note: See
TracTickets for help on using
tickets.
Reduced:
http://jsfiddle.net/rwaldron/zQxgH/3/