Skip to main content

Bug Tracker

Side navigation

#9682 closed bug (fixed)

Opened June 28, 2011 10:35AM UTC

Closed July 01, 2011 12:19AM UTC

Last modified March 14, 2012 02:53AM UTC

Ajax retry fetches the wrong URL

Reported by: niyazpk Owned by: jaubourg
Priority: low Milestone: 1.next
Component: ajax Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:
Description

When I do a retry of an ajax request using $.ajax(this) the new URL includes the items in the data parameter and so the URL is different for the retry.

Test case printing the URLs in each retry: http://jsfiddle.net/niyazpk/Fqahn/5/

Attachments (0)
Change History (4)

Changed June 29, 2011 09:55AM UTC by addyosmani comment:1

component: unfiledajax
priority: undecidedlow
status: newopen

Reproduced with jQuery Git: http://jsfiddle.net/Fqahn/6/

Changed June 30, 2011 03:55PM UTC by jaubourg comment:2

owner: → jaubourg
status: openassigned

Changed July 01, 2011 12:19AM UTC by jaubourg comment:3

resolution: → fixed
status: assignedclosed

Fixes #9682. Removes data from the options for request with no content so that it is not used again in case of a retry. Unit test added.

Changeset: e83fcdcb02d676d91d764a58f7e8d2eb1c95de69

Changed July 01, 2011 02:30AM UTC by niyazpk comment:4

Stupid question: Won't this fix break ''this.data'' calls in the retry flow?