Skip to main content

Bug Tracker

Side navigation

#1744 closed bug (worksforme)

Opened September 27, 2007 07:13PM UTC

Closed November 29, 2007 09:36PM UTC

$.ajax success callback doesn't receive json data

Reported by: carl Owned by:
Priority: major Milestone: 1.2.2
Component: ajax Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:
Description

when using $.ajax({dataType: "json", ...}) the ajax.onreadystatechange function in jquery-1.1.3.1 used to call s.success( data, status ) but in 1.2.1 it just calls s.success().

Attachments (2)
  • jquery_test.html (0.9 KB) - added by davidserduke November 29, 2007 09:33PM UTC.

    test case (based on description)

  • json.js (0.0 KB) - added by davidserduke November 29, 2007 09:33PM UTC.

    test case data

Change History (2)

Changed November 06, 2007 04:17AM UTC by Bradley comment:1

component: coreajax
priority: blockermajor

Changed November 29, 2007 09:36PM UTC by davidserduke comment:2

need: ReviewTest Case
resolution: → worksforme
status: newclosed

Couldn't reproduce this bug with the above test case I built based on the description in either 1.2.1 or today's SVN. Nor could I see a place in 1.2.1 where s.success() was called without parameters.

Please reopen if you find a test case that fails.