Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6957 closed bug (invalid)

clone bug in demos\sortable\portlets.html

Reported by: hikebrant Owned by:
Priority: Milestone: 1.4.3
Component: core Version: 1.4.2
Keywords: Stack overflow Cc:
Blocked by: Blocking:



drag one element(.portlet)


execute code: $(".portlet:first").clone(true);

now:bug appeared.it throw an "Stack overflow" exception.

source code:

if ( deep && copy && ( jQuery.isPlainObject(copy)
jQuery.isArray(copy) ) ) {
var clone = src && ( jQuery.isPlainObject(src)
jQuery.isArray(src) ) ? src

: jQuery.isArray(copy) ? [] : {};

Never move original objects, clone them target[ name ] = jQuery.extend( deep, clone, copy );bug appeared here!

Don't bring in undefined values }

Change History (2)

comment:1 Changed 13 years ago by hikebrant

version is jquery-1.4.2

comment:2 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

This should be filed at the jQuery UI bug tracker: http://dev.jqueryui.com

Note: See TracTickets for help on using tickets.