Got this TypeError: 'undefined' is not an object (evaluating 'this.opening.update') when removing a parameter from a function.
Got this TypeError: 'undefined' is not an object (evaluating 'this.opening.update') when removing a parameter from a function.
pabiltobs -
Would you be able to provide steps to reproduce?
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.
:)
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.
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.
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
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
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.
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.
It's my pleasure