Bug Tracker

Modify

Ticket #6985 (closed bug: worksforme)

Opened 4 years ago

Last modified 4 years ago

Ajax: GET Request abort

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

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

comment:1 follow-up: ↓ 2 Changed 4 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 4 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 4 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 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.