Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#970 closed bug (fixed)

custom timeout does not set error message when timeout occurs

Reported by: anonymous Owned by:
Priority: major Milestone: 1.1.4
Component: ajax Version: 1.1.3
Keywords: timeout Cc:
Blocked by: Blocking:

Description

When using the custom 'timeout' settings for an ajax request as in $.ajax({timeout:1000}) there is no exception sent in error() handler (e==null). The message sent in error (second parameter) is just a flat "error" with no relevance to what just hapened (timeout).

Attachments (1)

ajax-status-timeout.patch (1.2 KB) - added by skarkkai 13 years ago.
The second parameter of ajax error callback is "timeout" when error is due to a timeout

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by john

Milestone: 1.1.3
need: Test Case
Version: 1.1.2

comment:2 Changed 13 years ago by joern

need: Test CasePatch

Added test in [1584].

Changed 13 years ago by skarkkai

Attachment: ajax-status-timeout.patch added

The second parameter of ajax error callback is "timeout" when error is due to a timeout

comment:3 Changed 13 years ago by john

Milestone: 1.1.31.1.4
Priority: minormajor
Resolution: fixed
Status: newclosed
Version: 1.1.21.1.3

Fixed in SVN rev [2418].

Note: See TracTickets for help on using tickets.