Bug Tracker

Modify

Ticket #1744 (closed bug: worksforme)

Opened 6 years ago

Last modified 6 years ago

$.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:
Blocking: Blocked by:

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

jquery_test.html Download (873 bytes) - added by davidserduke 6 years ago.
test case (based on description)
json.js Download (19 bytes) - added by davidserduke 6 years ago.
test case data

Change History

comment:1 Changed 6 years ago by Bradley

  • Priority changed from blocker to major
  • Component changed from core to ajax

Changed 6 years ago by davidserduke

test case (based on description)

Changed 6 years ago by davidserduke

test case data

comment:2 Changed 6 years ago by davidserduke

  • need changed from Review to Test Case
  • Status changed from new to closed
  • Resolution set to worksforme

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.