-
24 Mar 2011 5:21 AM #1
[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)
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=0Code: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'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
-
24 Mar 2011 9:13 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
This has already been fixed for the next release.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
com.google.gwt.core.client.JavaScriptException: (ReferenceError)!!!
By DaRkViDe in forum Ext GWT: DiscussionReplies: 2Last Post: 2 Feb 2011, 4:40 PM -
can't find variable
By jjfortuin in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 11 Jan 2011, 5:31 PM -
[CLOSED] Can't Find Variable: Ext
By irfaniqbal in forum Sencha Touch 1.x: DiscussionReplies: 3Last Post: 30 Nov 2010, 12:18 AM -
[FIXED][3.0] My store changed from an object variable to a class variable!!!
By frew in forum Ext 3.x: BugsReplies: 7Last Post: 9 Apr 2009, 10:17 AM -
[FIXED] [3.0] My store changed from an object variable to a class variable!!!
By frew in forum Ext 2.x: BugsReplies: 7Last Post: 9 Apr 2009, 10:17 AM


Reply With Quote