-
3 Dec 2010 5:10 AM #1
[CLOSED] Unable to disable timeout in Ext.Ajax
[CLOSED] Unable to disable timeout in Ext.Ajax
We were hoping to be able to disable the timeout
in Ext.Ajax.request by setting the timeout property
to null. Looking at the code we can see that this
is not possible, even though it seems that this was
intended at some point. We have therefore concluded
that this must be a bug.
In ext-3.3.1:
If you look at the handleReadyState method of
src/adapter/ext-base-ajax.js (line 187) it checks that a
callback has been set and if not no timeout for the
request is set.
In the method request in file src/data/Connection.js line 219
the timeout is set to a number explicitly using Ext.num.
This means that it is not possible to disable timeout of an
Ext.Ajax request.
Ext version tested:- Ext 3.3.1
Adapter used:- ext
css used:- only default ext-all.css
Browser versions tested against:- Chrome 7
Operating System:- Ubuntu
-
3 Dec 2010 5:14 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
-
3 Dec 2010 9:18 AM #3
Hi,
Thamks for your quick reply! i tested it and it works like you described.
I expected that setting the timeout to null would do the same.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
how can i override the ext js ajax timeout for more than one hour?
By rramkumar in forum Ext 3.x: Help & DiscussionReplies: 15Last Post: 14 Oct 2010, 5:38 AM -
Does Ext.Ajax.timeout work for small values?
By sacha in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 2 Aug 2010, 11:50 PM -
Ext.Ajax.timeout issue
By sriharshaparigi in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 30 Mar 2010, 4:54 AM


Reply With Quote