PDA

View Full Version : [INFOREQ] ExtJS Desktop > Rename Objects > Not updating files



mikeAGF3
23 Oct 2012, 2:08 PM
Hi,

Sometimes when you rename objects in the 'Project Inspector', the 'Application' view and resulting files do not update.

Eg.
Renaming a 'window' object caused trouble; my ExtJS application failed to initialize properly, without issuing error to the Browser [firebug], causing subsequent launch() debug statements to not execute.

You can recover using the following workaround:
1. 'right-click > duplicate' [if available for your object] to create a new copy, then rename that.
2. Delete the original object

Eg: Store/Model
When creating store, Architect issues a default name 'myBlahBlah', so it makes sense to rename. If this bug happens, simply add another store and then delete it immediately, it will delete the reference in Ext.application({models:[]})

Appreciate the code-views Architect provides, hope this helps.

M

aconran
23 Oct 2012, 3:58 PM
Mike -

If you are able to provide steps that clearly show us how to reproduce this bug, we'll make sure it gets fixed.