maqetta/maqetta — Issue #1700: Unused stores never get deleted from user HTML files
Author: JonFerraiolo
Created: 2012-02-04 16:20:00+00:00
State: open
Labels: Data Bindings, Priority High, Widget Libraries

@aerwin

* New HTML File
* Add Button, Tree, Calendar
* Open up browser debugger showing DOM tree of user HTML doc. You'll see this inside of BODY: SPAN for Button, SPAN for ItemFileReadStore, SPAN for ForestStoreModel, SPAN for Tree, SPAN for Calendar. This is all OK
* Select Tree and "cut"
* Then issue a paste command and click to add Tree back in

Result=> Look at DOM tree of user HTML doc. You'll see 2 SPANs for ItemFileReadStore and 2 SPANs for ForestStoreModel.

* Save, close, reopen
* Show source view

Result=> If you scroll to right, you'll see that there are multiple ItemFileReadStore and ForestStoreModel in user HTML file that have been persisted across save and reopen