Answered: Getting Error [object has no method 'getController' while creating production build
Answered: Getting Error [object has no method 'getController' while creating production build
Hi All.
BackGround :
I am working on a sencha touch 2.1.0. I have created production build using sencha cmd 3.0.The production build is successful but While running the application (production build) , I am getting following error
I got the solution and posting it here as It may be helpful to others.
There were places where I was directly accessing the controller such as this.MYapp.getController('MyController') and not as this.getApplication().getController('MyController') which was causing the issue during the production build but was working fine in development version.
I got the solution and posting it here as It may be helpful to others.
There were places where I was directly accessing the controller such as this.MYapp.getController('MyController') and not as this.getApplication().getController('MyController') which was causing the issue during the production build but was working fine in development version.