Threaded View
-
1 Oct 2012 12:25 AM #1
[4.1.1] Controller's modules load problem
[4.1.1] Controller's modules load problem
If in a controller I set the model and store configs then I get a file load error with a strange path: app/controller/Main.js/model/file.js .
Then I took a look in controllers method "onClassExtended" and seems that this line is the reason of load fail:
If "namespace" var would have the second value "AppNamespace" then load will be okCode:namespace = Ext.Loader.getPrefix(className) || match[1]; // = "AppNamespace.controller.Main" || "AppNamespace";
Last edited by vadimv; 1 Oct 2012 at 3:27 AM. Reason: sentence correction
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.


Reply With Quote