Skip to main content

Bug Tracker

Side navigation

#6134 closed bug (duplicate)

Opened February 20, 2010 04:44PM UTC

Closed February 26, 2010 05:50PM UTC

data() now returns null on "no data"

Reported by: Christoph Owned by:
Priority: Milestone: 1.4.2
Component: data Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:
Description

The update from jquery 1.4.1 to 1.4.2 broke my code. I found out that the data() function is in 1.4.2 returning null, if there is no data. In the release 1.4.1 it returned undefined.

I was wondering about Ticket #5971, where 3 weeks ago it describes this issue turned around.

Attachments (0)
Change History (2)

Changed February 22, 2010 03:06PM UTC by qoobaa comment:1

The same thing here - this change broke a lot of existing scripts.

Changed February 26, 2010 05:50PM UTC by john comment:2

resolution: → duplicate
status: newclosed

Fixed in #6166.