1. #1
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Luxembourg
    Posts
    199
    Vote Rating
    2
    EAHC-IT is on a distinguished road

      0  

    Default 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.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,485
    Vote Rating
    135
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default

    Could you provide a project archive and steps to reproduce?
    Aaron Conran
    @aconran

  3. #3
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Luxembourg
    Posts
    199
    Vote Rating
    2
    EAHC-IT is on a distinguished road

      0  

    Default

    Quote Originally Posted by aconran View Post
    Could you provide a project archive and steps to reproduce?
    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.

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,485
    Vote Rating
    135
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      1  

    Default

    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

  5. #5
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Luxembourg
    Posts
    199
    Vote Rating
    2
    EAHC-IT is on a distinguished road

      0  

    Default

    Quote Originally Posted by aconran View Post
    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.
    Ok, as soon I have delivered this iteration I will install the latest build.

    Thank you

Thread Participants: 1