PDA

View Full Version : [CLOSED] Build 374 Direct store xhr returning source



jeffj@sstelco.com
17 Apr 2012, 3:31 AM
Just allowed the routine upgrade to 374, deployed the project and now I get and unexpected token : when I try to load.

Looking at network, xhr, I see it is trying to load some direct stores, but the response is the actual source and not the expected result.

I don't even know where to start with that, but it's completely stopping development/testing.

Has anyone seen this?
Thanks,
Jeff

jeffj@sstelco.com
17 Apr 2012, 3:39 AM
OK, just noticed in the call stack is doing loadScriptFile, so maybe it's supposed to be returning the source at this point, but how do I debug the sudden unexpected token problem? It was not there before this update to 374



ext-all-debug.js:4606 (http://localhost/extjs/ext-all-debug.js)Uncaught SyntaxError: Unexpected token :

Ext.Loader.loadScriptFile

jeffj@sstelco.com
17 Apr 2012, 3:45 AM
OK, after drinking more coffee and slowing down, I found that the store in question had both an api and a directFN defined, and that the api referenced functions that were not defined by the code.

Cleaned up the configuration on that store and everything seems to be working again.

FYI.
Jeff

Phil.Strong
17 Apr 2012, 6:23 AM
Sweet!