Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha User
    Join Date
    Oct 2008
    Posts
    25
    Vote Rating
    1
    pablitobs is on a distinguished road

      0  

    Default TypeError: 'undefined' is not an object (evaluating 'this.opening.update')

    TypeError: 'undefined' is not an object (evaluating 'this.opening.update')


    Got this TypeError: 'undefined' is not an object (evaluating 'this.opening.update') when removing a parameter from a function.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,270
    Vote Rating
    122
    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


    pabiltobs -

    Would you be able to provide steps to reproduce?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Oct 2008
    Posts
    25
    Vote Rating
    1
    pablitobs is on a distinguished road

      0  

    Default Steps

    Steps


    after creating two functions with one parameter, try to add a second parameter to one of the functions, then save, try to erase one of the parameters, and there is where it crashed.

    That is the secuence, I tried later to do the same and it didn't crash, so I don't know if it was a random thing.


  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,270
    Vote Rating
    122
    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


    I tried a number of versions of this and was unable to reproduce.

    If you are able to provide steps to reproduce we will be able to fix it faster. Otherwise we'll be on the lookout.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Oct 2008
    Posts
    25
    Vote Rating
    1
    pablitobs is on a distinguished road

      0  

    Default steps

    steps


    the steps I described before were the ones I followed, I tried too, and it never came up again, if it happens again I will let you now.
    Thank you very much for your support on this matter.

  6. #6
    Sencha User
    Join Date
    Mar 2008
    Posts
    51
    Vote Rating
    2
    art.dev.ext is on a distinguished road

      0  

    Default reproduced

    reproduced


    I'm getting it doing this :
    1- New project
    2- Add a new controller
    3- Create a first function with 1 param for this controller
    4- Create a second function
    5- Delete param of first function

  7. #7
    Sencha - Architect Dev Team
    Join Date
    Jul 2012
    Posts
    285
    Vote Rating
    26
    honestbleeps will become famous soon enough honestbleeps will become famous soon enough

      0  

    Default


    unfortunately, I'm unable to replicate this issue following your steps -- is there any chance you'd be willing to make a screen recording so I can see what steps we might be missing?

    Also, please let me know what build of Sencha Architect your'e on (shown on the opening screen), and what framework you're creating your project in (Touch or ExtJS, and what version number)

    I definitely want to be able to get to the bottom of this, so I don't want to give up on trying to replicate it just yet.

    Thanks for helping us improve the quality and stability of Architect,
    Steve
    Steve Sobel
    @honestbleeps
    Sencha Architect Development Team

  8. #8
    Sencha User
    Join Date
    Mar 2008
    Posts
    51
    Vote Rating
    2
    art.dev.ext is on a distinguished road

      0  

    Default


    Well, I'm using Architect 2.1.0 Build 678 with ExtJs 4.1.x

    I think I've found what's the problem here.
    When adding a param or a new function, I did not validate the first param (the one I want to delete) by 'bluring' field (with ENTER KEY or click outside the field). Also do not validate second function name.
    Have a look at the attached screen recording.
    Attached Files

  9. #9
    Sencha - Architect Dev Team
    Join Date
    Jul 2012
    Posts
    285
    Vote Rating
    26
    honestbleeps will become famous soon enough honestbleeps will become famous soon enough

      0  

    Default


    Thanks for the update and the description - you're spot on with the blurring issue - not tabbing off of those fields does seem to be the cause.

    Fortunately, I can confirm that on our latest codebase, this is fixed and will be addressed with the release of Architect 2.2. Thanks so much for helping dig deeper into this one - it makes it a great deal easier for us to improve architect.
    Steve Sobel
    @honestbleeps
    Sencha Architect Development Team

  10. #10
    Sencha User
    Join Date
    Mar 2008
    Posts
    51
    Vote Rating
    2
    art.dev.ext is on a distinguished road

      0  

    Default


    It's my pleasure