-
4 Feb 2013 11:57 PM #1
TypeError: 'undefined' is not an object (evaluating 'array.indexOf')
TypeError: 'undefined' is not an object (evaluating 'array.indexOf')
sencha_architect_error_when removing_from_controller.PNG
This is the nice box I have when I try to remove a model or a view from a controller.
I ignore, click again on the delete icon and it works.
I notice it when I have wrongly assigned a view into a controller.
-
5 Feb 2013 2:48 PM #2
Could you provide a project archive and steps to reproduce?
Aaron Conran
@aconran
Sencha Architect Development Team
-
6 Feb 2013 12:15 AM #3
Do you need the only XDS or the METADATA folder too?
FYI, I use the Sencha Architect 2, version 2.1.0 Build: 5842
For the step:
1) I create a view (it automatically is attached to the ("top level") app)
2) I create a controller
3) I assign the view the controller. At the question about keeping at both place I choose no. So they are removed from the view property of the app and added to the view property of the controller.
4) Added controller actions...
5) Remove all actions1
6) Remove the view from the controller... -> Error -> Ignore -> Retry -> Success
7) Attach the view to the ("top level") app manually.
I checked, this issue happens for all my controllers (views/stores/models)
1I need to reorganise, one module of my app need to be maintained by someone else. So this module will have his own project. The window will be invoked by the core app passing parameters or imported in the core app.
2I deliver the app new month, I will upgrade to next build after.
-
6 Feb 2013 11:31 AM #4
Thanks for the bug report. I can confirm that this *does* happen in Build 584 but does not happen in the current production build 678.
This issue has already been resolved.Aaron Conran
@aconran
Sencha Architect Development Team
-
7 Feb 2013 1:16 AM #5


Reply With Quote