Skip to main content

Bug Tracker

Side navigation

#2600 closed bug (fixed)

Opened March 27, 2008 06:58PM UTC

Closed May 02, 2008 07:50PM UTC

Last modified April 01, 2014 05:04PM UTC

jQuery.extend() should not ignore properties with null values

Reported by: scottgonzalez Owned by:
Priority: major Milestone: 1.2.4
Component: core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:
Description

jQuery.extend() currently ignores properties with a value of null or undefined; only undefined should be ignored.

Attachments (0)
Change History (3)

Changed March 27, 2008 06:59PM UTC by scott.gonzal comment:1

This behavior was introduced in [2783].

Changed May 02, 2008 07:50PM UTC by scott.gonzal comment:2

resolution: → fixed
status: newclosed

Fixed in [5385].

Changed April 01, 2014 05:04PM UTC by tborychowski@gmail.com comment:3

Please update the documentation for "extend" to reflect that change.

(I spent hours debugging that today, as I assumed that "null" values are ignored - as the documentation states!)