Sencha, what is the status of this? Forum is still showing "Wait! Looks like we don't have enough information to add this to bug database." although I have created a bug report in format you expect in this thread.
Printable View
Sencha, what is the status of this? Forum is still showing "Wait! Looks like we don't have enough information to add this to bug database." although I have created a bug report in format you expect in this thread.
I have looked into this and there appears to be some issue with using the models, views and stores configs within controllers and the generated bootstrap.js. The Jira id for this issue is SDKTOOLS-217. I did notice that this issue was resolved if you use requires instead of the previously mentioned configs.
Code:requires: ['MyApp.store.MyStore']
:), fmoseley@ thx, finally, 3 weeks that's a lot, too much to inspect such a minor bug. Regarding 'requires', yes I know, and the issue wasn't a blocker for us.
fmoseley, using "requires" is not a solution, is just an inconvenient alternative.
"requires" does not generate getters, also, does not instantiate the stores.
This is definitively a bug that has to be resolved ASAP, cause new people trying to adopt Cmd structure will end up bald!
vadimv, your fix worked.
This should be fixed in Sencha Cmd 3.0 GA (3.0.0.250). The issue had to do with how the metadata contained complete file names but the MVC namespace resolver was expecting path prefixes to define namespaces.
You will need to do a "sencha app refresh" to refresh the bootstrap.js file to get this to work.
This was ticket SDKTOOLS-217 (see http://www.sencha.com/forum/showthre...Now-Available).
Don, yes I saw in release notes and already tested, works, thx and thx for explanation also
I am currently migrating our app to use Sencha Cmd (GA) + ExtJS 4.1.3.
I have this very same problem when I build my app with Cmd GA. All stores,views,models don't get loaded prior to the controller declaration. If I put a require statemnt in the controller, then it will load the class.
I have posted a thread about this in Sencha Cmd forum. Can anybody confirm that this is indeed fixed ?
http://www.sencha.com/forum/showthre...-to-Sencha-Cmd
yes, is fixed, just do app refresh.