This issue duplicates another issue.
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    Paris
    Posts
    7
    Vote Rating
    0
    ferreol.robert is on a distinguished road

      0  

    Default Delete a view make a null in loader class

    Delete a view make a null in loader class


    REQUIRED INFORMATIONArchitect Build tested:
    • Build: 676
    Project Type:
    • ExtJS 4.1
    Description:
    • Delete a view make a null in loader class.
    Steps to reproduce the problem:
    • Create a view
    • Reference this view in loader, in a controller
    • Delete it
    The result that was expected:
    • The view has to be delete in the loader
    The result that occurs instead:
    • A null appeared in the loader
    • Error message in Chrome :
      Code:
      Uncaught TypeError: Cannot call method 'split' of null
    HELPFUL INFORMATIONScreenshot, Project, or Video:

    Error in red

    Code:
    Ext.Loader.setConfig({
        enabled: true
    });
    
    Ext.application({
        models: [
            'User'
        ],
        stores: [
            'FirmsStore',
            'FrequencyStore'
        ],
        views: [
            'MyPanel',
            null,
            'MainPanel',
        ],
        autoCreateViewport: true,
        name: 'FIS',
        controllers: [
            'MenuPanel'
        ]
    });
    Operating System:
    • MAC 10.7.5

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2013
    Posts
    2
    Vote Rating
    0
    beegor is on a distinguished road

      0  

    Default


    same issue in Architect 3. Application doesn't start after this.Is there a workaround?

Thread Participants: 1