5 Nov 2013 12:07 PM #1
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. Reason: typo
5 Nov 2013 2:58 PM #2
Thanks for the report! I have opened a bug in our bug tracker. We'll attempt to replicate this and get it fixed!
5 Nov 2013 4:09 PM #3
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 firstname.lastname@example.orgSteve Sobel
Sencha Architect Development Team
6 Nov 2013 7:19 AM #4
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.Aaron Conran