BUG: delete store/model from project does not remove references from Ext.application
Running latest version of Sencha Architect (2.1.0 Build 588, Release Channel 2.1-stable)
When deleteing unneeded Models & Stores, Architect does not remove the references in app.js.
For example, we delete a Store called 'Notifications' from our project (and the associated Model). Made sure there were no interface elements (nor code) that refefenced these objects. But when we do Save/Deploy of the project, Architect had not correctly removed the entries from app.js -- Ext.application.
Browsing to the 'Application' node of Project explorer, and scroll down through the Config explorer, the store and model settings each have blank entries where the 'Notification' entries were.
A quick review of app.js shows the file still referenced these now missing objects. This caused the app to throw errors on launch from within Ext.app.Application.createGetters() from the line 'parts = ref.split('.');' -- ref is null.
The solution was to delete the blank/null entry from the Config explorer -- but since it was a blank line, it felt a bit risky to click delete.
What you've described above is definitely a bug. I can't reproduce it though. Do you have any specific steps that trigger this scenario? Simply dragging out a store/model and then deleting it, the store/model is properly removed from the App.