Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    12
    Vote Rating
    0
    Champi is on a distinguished road

      0  

    Default Ajax Request timeout

    Ajax Request timeout


    Hi!

    seems to be a bug there :

    Code:
    abort : function(r) {
            if (r && this.isLoading(r)) {
                if (!request.timedout) {sencha-touch-debug.js:17491Uncaught ReferenceError: request is not defined}
    
    
    
                    request.aborted = true;
                }
                
                r.xhr.abort();
            }
            else if (!r) {
                var id;
                for(id in this.requests) {
                    if (!this.requests.hasOwnProperty(id)) {
                        continue;
                    }
                    this.abort(this.requests[id]);
                }
            }
        },

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Looks like the abort method in the Connection.js file has been rewritten to fix this issue in 1.1.1. All it looks like is it change the 'r' arguments/variables to 'request' as that was the bug in the first place. We shouldn't really use short variables like that in the first place, minification will handle that.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Touch Premium Member
    Join Date
    Dec 2010
    Posts
    10
    Vote Rating
    0
    hranum is on a distinguished road

      0  

    Exclamation Not fixed in 1.1.1

    Not fixed in 1.1.1


    I don't think so. My copy of 1.1.1 still has this error.

    Fixed it myself:

    Code:
    Ext.override(Ext.data.Connection, {
    	
    	abort : function(r) {
    	    if (r && this.isLoading(r)) {
    	        if (!r.timedout) {
    	            r.aborted = true;
    	        }
    	        // Will fire an onreadystatechange event
    	        r.xhr.abort();
    	    }
    	    else if (!r) {
    	        var id;
    	        for(id in this.requests) {
    	            if (!this.requests.hasOwnProperty(id)) {
    	                continue;
    	            }
    	            this.abort(this.requests[id]);
    	        }
    	    }
    	}
    	
    });

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi