PDA

View Full Version : App not working after Sencha Cmd Build



sunny808
20 Dec 2012, 7:52 PM
Takes me days and I still can''t figure this out.
I have built an Sencha Touch 2.1 app with an extension from Sencha Market. I can build the app with Sencha Cmd 3 with the flag v2deps set to true. After I run the build (testing or production), the app acts differently and I got an error:

Uncaught TypeError: Cannot read property 'title' of undefined
on this line of code
this.container.add(Ext.merge(this.config.defaults, item.raw));

Since it is a straight build, I assume no code is being changed. The non-build one is working 100% fine. Does anyone encounter similar problem?
Thanks

mitchellsimoens
22 Dec 2012, 7:21 AM
Why are you using v2deps?

sunny808
28 Dec 2012, 9:25 AM
I was using some sencha market plugin and thought that I need to make the build compatible with v2. But I configure out that I need to configure sencha.cfg for all the classpath.

Now, I can build the sencha touch app without using the v2dep flag.
Sadly, the problem still exists and the original code works perfectly and the single js testing build is acting differently. Did anyone else run into the same problem?