Skip to main content

Bug Tracker

Side navigation

#13892 closed bug (invalid)

Opened May 14, 2013 08:28AM UTC

Closed May 29, 2013 08:59AM UTC

$.extend deep copy not performed

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

Link to JSFiddle:

Using the latest JQuery library from:

Occurs on all latest browsers and O/Ss

With a plain object created by javascript new(), we noticed that jquery.extend() doesn't perform a deep copy of any other plain objects encountered within the properties of this parent object and instead copies the reference. This occurs even when we set the deep copy argument to true.

Is this how it should function? This might be related to:

Attachments (0)
Change History (2)

Changed May 14, 2013 02:48PM UTC by rwaldron comment:1

owner: →
status: newpending

Thanks for taking the time to contribute to the jQuery project!

Your test case is definitely appreciated, but could you reduce it to the single smallest piece of code that demonstrates the bug you're reporting? Thanks!

Changed May 29, 2013 08:59AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

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!