Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6985 closed bug (worksforme)

Ajax: GET Request abort

Reported by: phlegx Owned by:
Priority: Milestone: 1.4.2
Component: ajax Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

Used plugin:

  • jqGrid 3.7.2.

Problem: If I click on the "reload grid" button the ajax request becomes the status "Aborted". Firebug shows me the error line 5252 in jquery.js.

Funny thing:

  • The Firefox 3.6.8 on my Linux machine (with the local web server running) don't has this behavior if I click the "reload grid" button. It runs all fine.
  • The Firefox 3.6.8 on my Windows machine (connected over ethernet with the linux machine) has this problem by click the button! The ajax request starts but finishes with an "Abort".

My test:

  • If i remove the line 5245 "onreadystatechange( "timeout" );" from jquery.js the problem on the Windows machine disappears and all works fine.

How is that possible? Same web server, same script, same ajax request. Only different OSs!

Change History (4)

comment:1 Changed 13 years ago by phlegx

My second test:

  • Remove only the line 5217 "xhr.abort();"

This "solves" the problem:

  • On the Windows machine the problem disappears!

This is only a temporary solution for me.

comment:2 in reply to:  1 Changed 13 years ago by phlegx

Replying to phlegx:

My second test:

  • Remove only the line 5217 "xhr.abort();"

This "solves" the problem:

  • On the Windows machine the problem disappears!

This is only a temporary solution for me.

The problem disappears because don't ends in "Aborted" state, still the grid is not reloaded!!!

comment:3 Changed 13 years ago by phlegx

Here a same script with the same result:

http://jsbin.com/isolo/edit

Use Firebug on tab: Console or Net -> XHR to see the error.

comment:4 Changed 13 years ago by dmethvin

Resolution: worksforme
Status: newclosed

If you change to jQuery 1.4.2 it seems to work, at least AFAICT.

Note: See TracTickets for help on using tickets.