1. #1
    Sencha Premium Member
    Join Date
    Apr 2008
    Posts
    266
    Vote Rating
    28
    themightychris has a spectacular aura about themightychris has a spectacular aura about

      0  

    Exclamation io SDK not compatible with dynamic loading

    io SDK not compatible with dynamic loading


    The Ext.io.ux.Strings.* variables used statically in Ext/io/ux/ChangePassword.js and Ext/io/ux/AuthSencha.js result in a race-condition-induced intermittent loader failure, because listing Ext.io.ux.Strings in Ext.io.Controller's requirements doesn't ensure that its source code is evaluated before other class definitions'.

    I've wrestled with this problem on my own and would be interested to see Sencha's solution, but static class members can't be depended on when class definitions are evaluated.
    Chief Architect @ Jarv.us Innovations
    Co-captain @ Code for Philly

    Jarvus builds and optimizes top-quality Sencha Touch and ExtJS apps for open-source projects and clients of all sizes.

    Don't waste time with bugs that have already been found and fixed by the community, compile our tried and tested hotfixes packages into all your projects: https://github.com/JarvusInnovations/sencha-hotfixes

  2. #2
    Sencha - IO Dev Team
    Join Date
    Apr 2011
    Posts
    86
    Vote Rating
    5
    jason.cline is on a distinguished road

      0  

    Default


    Yes ux.Strings is a problem. I'll be removing it in a release soon.

    I have seen the loading issue when working locally with the dynamic loader, but only very rarely.

    And this isn't a problem for deployed applications as they should be built using Sencha Cmd. Otherwise the app would take a very long time to load.


    You may find Mitchell's local manager useful if you need to do a lot of localization:

    https://github.com/mitchellsimoens/Ux.locale.Manager

Thread Participants: 1