Bug Tracker

Opened 12 years ago

Closed 11 years ago

#2937 closed bug (invalid)

jQuery calls ajaxError even if server executes successfully

Reported by: sumanta Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.5
Keywords: Cc:
Blocked by: Blocking:

Description

Facing a strange behavior - we are using jQuery with Spring MVC at server-end. For a particular request, the call goes into ajaxError function even if there is no error seen in the server (infact, server executes successfully). Even more - the same call sometimes (rarely) executes successfully.

Change History (3)

comment:1 Changed 12 years ago by flesler

need: ReviewTest Case

Hi

Can you provide a test case where this happens ?

comment:2 Changed 11 years ago by djw

I found this bug after I experienced a similar problem — a 2xx response from the server, but a call to the error function instead of success. In my case, the problem was that the content-type returned by the server wasn't what I was expecting, and didn't match what I had specified in .ajax's dataType option.

If you're still having problems, that might be something worth checking.

comment:3 Changed 11 years ago by dmethvin

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.