View Full Version : [FIXED] Designer 353 : Can't add custom property to Controller Reference
2 Apr 2012, 11:00 AM
When I try to add custom property to Controller Reference, for example (forceCreate : true) and hit Add button designer pops up message TypeError: 'undefined' is not an object.
2 Apr 2012, 11:48 AM
Any additional steps to reproduce? What is the target framework? What is your operating system? I am unable to reproduce.
2 Apr 2012, 12:13 PM
Thanks for answer,
Now after some playing I have found I can't create custom property for any component. Not even for button like (action : 'someActionName')
OS : Ubuntu 11.10 64 bit (virtual machine / parallels desktop in OSX 10.7.3)
Sencha designer : 2.0.0 Build: 353 64bit as far as i remember.
FW : Sencha Touch 2.0
Steps to reproduce.
1.) New Project
2.) Create Controller
3.) Create Reference
4.) Add custom Property
5.) Error :-( /TypeError: 'undefined' is not an object/
Same behaviour in OSX. Works with autoCreate : true, (property automagicaly appears) but not with custom property like forceCreate : true :-(
Tested in OSX, button action property issue:
1.) new project
2.) new container in views
3.) drop button to the container
4.) add property action : 'test' + hit Add button of course
5.) TypeError: 'undefined' is not an object
Is anyone experiencig same issue or I'm just doing something wrong ??
I'm adding the property via "Filter or Quick Value set.." box as I used to do for weeks.
Only one change to default installation is I have the project inspector on left side.
2 Apr 2012, 2:14 PM
I see your videos and believe you that it is happening but I cannot reproduce it.
2 Apr 2012, 2:52 PM
It is very strange it is happening under OSX too, no matter if I'm using Sencha Touch or ExtJS. It started happening since I've updated to Build 353. Now I'm running 355 but still same behaviour.
OSX + ExtJS
Could you tell me how to remove it from the system and reinstall it again please ? I've tried standard OSX trash way uninstall, then uninstall with "clean my mac", but it apparently keeps the config file in the system or on the server because it keeps my settings, like project browser on left side after reinstall.
2 Apr 2012, 3:33 PM
I have found what's wrong. I was adding the variable as key[space]:[space]value. This is apparently not valid input. It works without spaces key:value 100%.
But I would suggest some nicer error message :-)
2 Apr 2012, 3:54 PM
Thanks for the bug report, this will be fixed in the next build.
Powered by vBulletin® Version 4.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.