Affichage des articles dont le libellé est MyApp.app missing? Automatically generated Getters not working?. Afficher tous les articles
Affichage des articles dont le libellé est MyApp.app missing? Automatically generated Getters not working?. Afficher tous les articles

mercredi 15 avril 2015

MyApp.app missing? Automatically generated Getters not working?

Not sure what's going on, but I migrated a Sencha 2.4.1 application over to Ext 6... when it loads up, the code is bailing on the first call to MyApp.app.fireEvent(...).



So I looked around, and apparently I should be calling MyApp.getApplication().fireEvent(..), but unfortunately getApplication is also undefined.



Additionally, if I skip that line and continue, I end up at a location where I'm attempting to do MyModel.getIdentifier... that is an error also. The Auto-generated getters aren't in place. MyModel.identifier returns the value, but the getter doesn't.



Any suggestions?





MyApp.app missing? Automatically generated Getters not working?