PDA

View Full Version : [DUP] Delete a view make a null in loader class



ferreol.robert
28 Nov 2012, 1:01 PM
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 :
Uncaught TypeError: Cannot call method 'split' of null
HELPFUL INFORMATIONScreenshot, Project, or Video:

Error in red




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

beegor
14 Jan 2014, 8:42 AM
same issue in Architect 3. Application doesn't start after this.Is there a workaround?