Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-880 in 2.0.
  1. #1
    Sencha - Services Team tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,305
    Vote Rating
    7
    tobiu will become famous soon enough

      0  

    Default [PR 1] Ext.app.Application -> stores

    [PR 1] Ext.app.Application -> stores


    hi team,

    when creating an app like this:

    Code:
    Ext.Loader.setConfig({
        enabled : true
    });
    
    Ext.application({
        name : 'SC',
    
        phoneStartupScreen : 'resources/images/startscreen.jpg',
    
        controllers : [
            'Main'
        ],
    
        stores : [
            'Settings'
        ],
    
        views : [
            'login.Login'
        ]
    });
    the loader successfully loads the controller and the view, but for the store it fires an error:

    [Ext.Loader] Synchronously loading 'SC.store.Settings'; consider adding Ext.require('SC.store.Settings') above Ext.onReady

    Uncaught Error: [Ext.Loader] Failed loading synchronously via XHR: 'app/store/Settings.js'; It's likely that the file is either being loaded from a different domain or from the local file system whereby cross origin requests are not allowed due to security reasons. Use asynchronous loading with Ext.require instead.
    Best regards
    Tobias Uhlig
    __________


    Sencha Inc
    Tobias Uhlig, Solutions Engineer

    Private Projects:

    S-CIRCLES Social Network Engine
    Commercial Theming for Ext JS 3 & 4

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,659
    Vote Rating
    14
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

  3. #3
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,941
    Vote Rating
    6
    edspencer has a spectacular aura about edspencer has a spectacular aura about edspencer has a spectacular aura about

      0  

    Default


    This is working in trunk and should be fine in PR4
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer