Skip to main content

Bug Tracker

Side navigation

#9587 closed bug (fixed)

Opened June 15, 2011 06:22AM UTC

Closed August 04, 2011 09:57PM UTC

Last modified March 09, 2012 05:08AM UTC

Cloning a div with an object causes error in IE8

Reported by: Motty Owned by: rwaldron
Priority: high Milestone: 1.6.3
Component: manipulation Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

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 ( to jQuery version 1.4.4 or older, the error doesn't occur.

Attachments (0)
Change History (8)

Changed June 15, 2011 02:49PM UTC by rwaldron comment:1

component: unfiledmanipulation
owner: → rwaldron
priority: undecidedhigh
status: newassigned

Changed June 15, 2011 02:50PM UTC by rwaldron comment:2

Changed June 15, 2011 03:19PM UTC by rwaldron comment:3

Changed July 12, 2011 07:57PM UTC by john comment:4

milestone: 1.next1.7

Confirmed in bug triage.

Changed July 12, 2011 10:03PM UTC by anonymous comment:5

Experiencing this on IE9 (9.0.8112.16421) also. Hoping for a 1.5.x patch.

Changed July 13, 2011 12:28AM UTC by rwaldron comment:6

_comment0: There will not be a 1.5.x patch as jQuery has just released 1.6.21310516998418492

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

Changed August 04, 2011 09:57PM UTC by Dave Methvin comment:7

resolution: → fixed
status: assignedclosed

Merge pull request #412 from rwldrn/9587

jQuery.clone() check destination child nodes are not null. Fixes #9587

Changeset: b5a16ead1ae2b7449c442c151299f9f456c03942

Changed August 26, 2011 02:45AM UTC by dmethvin comment:8