Results 1 to 2 of 2

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

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2008
    Vote Rating

    Default [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)

        runCallback: function(transaction, event){
            var funcName = event.status ? 'success' : 'failure',
            if (transaction && transaction.callback) {
                callback = transaction.callback;
                result = Ext.isDefined(event.result) ? event.result :;
                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 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 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.


  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Redwood City, California
    Vote Rating


    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts