Success! Looks like we've fixed this one. According to our records the fix was applied for
a recent build.
TreePanel and TreeStore problems when opening 1.1.2 project with 1.2.2 Build 48
Trying to open one of our 1.1.2 projects in Designer 1.2.2 Build 48 and encountering the following error:
An unexpected error occurred
Please help us make Designer better by reporting this error to the Designer forums
TypeError: 'undefined' is not an object
Restart Exit DesignerBased on other posts I've found in the forums, I'm guessing the problem lies in one of our class definitions, but I have no indication of where the problem lies. Is there any way to run Designer in a debug or enhanced logging mode so that I can actually see where the error is occuring?
I like that idea! Perhaps we should request a feature in Designer where we can see a debug console!?
Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection
can never be obtained...
When in doubt, check the d4mn source code!
And here are my terms...
- I don't care if you use my source code. (Known as "Code.")
- I don't care if I get any monetary compensation.
- I do care to receive credit for Code provided. So, please keep my name in the comments for Code provided.
- Code is provided without warranty "AS-IS" and I claim absolutely no warranty nor liability to the quality, security, and run-ability on any platform.
- By using Code, you accept all risk inherit with Code regardless if Code has known and yet to be discovered bugs.
- You are welcome to change and improve the Code to best meet your needs.
- I don't care if you use the Code in a commercial or open-source project.
- You are not required to contact me prior to using the Code.
I too would like to put in a strong request for debugging, or just some logging.
I am getting the exact same error, the only options are to restart or exit designer.
This is happening when I load data into my harness tree store.
I'm on designer on 1.2.2 build 48 on CentOS linux (32 bit) version 5.5. I'm trying to build an ExtJS 4.0 project, but not getting very far.
I have no idea where to begin troubleshooting. When I make the exact same request into a browser, I get well defined JSON output. Help!
I have a reproduction vector
Here's exactly what I did to cause this to occur:
1) Start a new project in the designer.
2) Add a tree panel
3) Create a new JSON Tree Store, add URL, fields etc.
5) associate the tree panel with the new tree store. Click "Load Data"
The project up to now behaves as expected. It works. I am seeing my data in the tree view.
Now, go File | Save project as...
RE-start designer and open recent project.
Now, when I click "load data" in the Tree store, I get the said error.
"TypeError: 'undefined' is not an object" opening 1.1.2 project with 1.2.2 Build 48:
it should be added that I see the data get loaded -- the tree populates, but instantly after that, the modal dialog box opens, and my only choices are to exit or restart.
We are working on ways to improve the bug reporting. We are aware that right now the information that you get back is not very useful.
Thanks for the above test case. We will try to reproduce it. It may also be helpful if you were to send your own project file which you are encountering the problem with.