Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2008
    Posts
    53
    Vote Rating
    0
    jash is on a distinguished road

      0  

    Default [FIXED] ReferenceError: Can't find variable: e

    [FIXED] ReferenceError: Can't find variable: e


    On loading a store with Ext.Direct I get an error when the data is received from the server

    It gives the error on line 20635 in ext-all-debug: (see // --> ERROR)

    Code:
        runCallback: function(transaction, event){
            var funcName = event.status ? 'success' : 'failure',
                callback,
                result;
            
            if (transaction && transaction.callback) {
                callback = transaction.callback;
                result = Ext.isDefined(event.result) ? event.result : event.data;
            
                if (Ext.isFunction(callback)) {
                    callback(result, event);
                } else {
                    Ext.callback(callback[funcName], callback.scope, [result, e]); //-->> ERROR
                    Ext.callback(callback.callback, callback.scope, [result, e]); //-->> ERROR
                }
            }
        },
    I assume e should be event? If I change both (also on the next line) 'e''s to 'event' the error disappears but the data is NOT loaded into the store when looking into the Safari Debugger at the Store, Data.items -> length=0

    I'm having a hard time getting MVC to work with ext.direct. I know it is all preview and not even beta. But we are helping out to test ExtJS 4. a bit more documentation on this part (MVC, direct etc.) would be "more professional". API docs are fine to search for a specific setting or parameter. But the learn section of sencha.com is very outdated and the examples are fun to look at, sometimes helpfull. Extjs is great but getting into it deeper really is a deep hole.

    Why the data is not loaded without errors really is hard to debug, especially since I'm poking around clueless about HOW it SHOULD be done. I had the same with 3.x. BAD...... I'm a professional please do update/create good documentation beyond the API docs where "technologies" are concerned.

    Jash

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    This has already been fixed for the next release.

Similar Threads

  1. Replies: 2
    Last Post: 2 Feb 2011, 4:40 PM
  2. can't find variable
    By jjfortuin in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 11 Jan 2011, 5:31 PM
  3. [CLOSED] Can't Find Variable: Ext
    By irfaniqbal in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 30 Nov 2010, 12:18 AM
  4. Replies: 7
    Last Post: 9 Apr 2009, 10:17 AM
  5. Replies: 7
    Last Post: 9 Apr 2009, 10:17 AM

Thread Participants: 1

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..."