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