PDA

View Full Version : [FIXED] Changing viewport userClassName to "Viewport" - error message not helpful



jptrainor
3 Aug 2012, 10:12 PM
By default a new viewport component class dragged into an Application's View tree is named "MyViewport".

Changing the userClassName to "Viewport" in the config inspector panel results in an unexpected error dialogue with the message: "TypeError: 'undefined' is not a function".

It's not a helpful message since I gather from inspecting the generated code that the class name "Viewport" is simply reserved.

aconran
5 Aug 2012, 7:18 PM
Thanks for the bug report. This has been fixed in the next minor version (which we are QA'ng for release now).

pascal_chronotech
17 Sep 2012, 12:36 AM
Is it corrected in Version 2.1.0 Build: 613 ?

I get message "this userClassName "Viewport" is reserved and ..." :(

jptrainor
17 Sep 2012, 2:57 AM
The "Viewport reserved" messages is the fix. The prior message was generic message from a top level exception handler.