PDA

View Full Version : [FIXED] BUG: delete controller's store entry crashes Architect



jim@carroll.net
5 Sep 2012, 7:15 AM
Open the attached project.

Navigate using the Project Inspector to 'Application / Controllers / JobWizardController'

In the Config pane, scroll down to 'stores', and try to delete the entry 'BackupJob'

Our instance crashes with 'An unexpected error ocurred' TypeError: 'undefined' is not an object (evaluating 'array.indexOf')

We are given the option to 'Ignore, Restore or Exit Architect'.

We are running:

Sencha Architect Version 2.1.0 Build 588
Windows 7 Ultimate Ed, 64-bit, Service Pack 1


FOLLOWUP:

Directly editing the metadata file, we can remove the store reference (meaning editing metadata/controller/JobWizardController)

As an experiment -- after removing the store entry from the metadata file, we then re-added it using Architect & then try to delete it using Architect -- and it crashes again with the same error message reported above.

jim@carroll.net
6 Sep 2012, 3:43 AM
I saw there was a new version of Architect this morning v 2.1.0 Build 609.

I can confirm this crash bug still exists.

Just curious -- has anyone had a chance to report this to the developers yet?

aconran
6 Sep 2012, 10:55 AM
I can confirm that we are aware of this and will have the fix in shortly; thanks for the report.

jim@carroll.net
6 Sep 2012, 12:43 PM
Thanks much.

aconran
7 Sep 2012, 9:00 PM
Fixed in the next patch release.