Skip to main content

Bug Tracker

Side navigation

#2937 closed bug (invalid)

Opened May 25, 2008 08:29AM UTC

Closed January 15, 2009 02:24AM UTC

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.

Attachments (0)
Change History (3)

Changed May 26, 2008 04:33PM UTC by flesler comment:1

need: ReviewTest Case

Hi

Can you provide a test case where this happens ?

Changed September 25, 2008 08:17PM UTC by djw comment:2

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.

Changed January 15, 2009 02:24AM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed