PDA

View Full Version : Upgrading Sencha Touch 2x project to Modern does nothing



tyladurdan
15 Aug 2016, 1:26 PM
Hi,

I've been testing this new demo out, tried a simple thing - opened up my previously working Sencha Touch 2.x project, right clicked on the library and updated to Modern. It saves and reopens, says project updating etc etc but then after that everything is blank and there is no app, just a white screen with no views. If I open the file again it still opens the old Sencha Touch 2x project so it doesn't save it.

Is the Sencha Touch 2 upgrade part not working properly yet?
Thanks

:-)

petr.vecera
16 Aug 2016, 6:49 AM
Hi

The upgrade from Touch 2.4 to Modern is not yet supported in SA 4.0 EA and I can't yet confirm if it will be in SA 4.0 GA.

There is lot of changes in the code structure and api names. There is not an automated process offered by Sencha Cmd for this and lot of user changes are required. The process is quite complicated even without SA related files.

You can grab an idea about the upgrade process in this guide:
http://docs.sencha.com/extjs/6.0.2-classic/guides/upgrades_migrations/modern_upgrade_guide.html

Or in this blog post serial:
https://www.sencha.com/blog/how-to-upgrade-a-sencha-touch-app-to-ext-js-6-modern-toolkit-part-1/


Btw if you really need to upgrade the App, you can take app code generated by SA and start working with it without SA. Do manual upgrade to Modern and continue development in some IDE with usage of the Sencha plugins https://www.sencha.com/products/ide-plugins/

Regards
Petr