You found a bug! We've classified it as
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
Ext JS Premium Member
Error with preview after changing class name
I have a small app with a class (simple panel view) that had a defined userClassName. I clicked on the preview button and it launched the app, behaving as expected. Then I renamed the class, saved, and clicked preview again. This time it fails, citing the class via the old name. The error cites a problem in the controller. When I look at the controller, I noticed the name still reflects the old class name, not the new name.
To resolve this, I simply select the view from the dropdown (which accurately reflects the new name)... but Architect should be auto-updating this.
Last edited by goldglovecb; 5 Nov 2013 at 12:08 PM.
Thanks for the report! I have opened a bug in our bug tracker. We'll attempt to replicate this and get it fixed!
upon review, I actually can't replicate the issue. It's possible that it's something we've already fixed in the time between the build you're using and now, but I'd like to make absolutely sure.
would you mind sending us your project and writing out which items you were changing, etc so we can verify and see if it's anything special about the conditions within your project?
you can send it to email@example.com
Sencha Architect Development Team
I've seen reports of the class name not getting changed or not getting removed when the class is deleted. I have not however been able to reproduce it. Any clues that you can give us would be helpful.