-
1 Mar 2012 11:51 PM #1
Exception when drawing arrow links
Exception when drawing arrow links
Hi, I was working on a new project and I added a search field to a toolbar. I decided against it and deleted the search field, however it was still visible in the design area. I then got the error "TypeError: 'null' is not an object".
Looking at the Project Inspector the line from MyNestedList2 instance to CategoryList is no longer joining them together, but shoots off the top of the screen...
2012-03-02_07-28-40.jpg
The broken project is attached for reference, there is nothing valuable in the project I just hope it helps locate the bug.
-
2 Mar 2012 9:53 AM #2
Interesting. Could you give us any background about what you done in regard to promoting any classes and/or dragging dropping components and selecting link?
Aaron Conran
@aconran
Sencha Architect Development Team
-
9 Mar 2012 7:14 AM #3
I am having the same problem and it is preventing me from finishing my application.
I can repeat the process every time. I figured it was easier to show you the error so I did a quick 2minute screencast to demonstrate.
http://screencast.com/t/axTA4LHG4LkU
A few things I didn't show during the video that might be important.
* The ChannelList is linked to the MainViewTablet with no problems.
* The ChannelList code
Any help would be greatly appreciated.Code:Ext.define('i911Mobile.view.ChannelList', { extend: 'Ext.dataview.List', alias: 'widget.channellist', config: { layout: { type: 'fit' }, store: 'OfflineChannels', allowDeselect: 'true', itemTpl: [ '<span class="channelFilter">', '<div class="channelCheckbox {show}"> </div>', '<div class="channelName">{channelName}</div>', '</span>' ] } });
Sincerely,
Jeff Schwartz
-
9 Mar 2012 10:11 AM #4
Jeff -
Thanks for the video, definitely a huge help seeing what the problem is.
Would you be able to privately share an archive of the project with our team at designer.feedback at sencha.com?Aaron Conran
@aconran
Sencha Architect Development Team
-
9 Mar 2012 10:44 AM #5
I just sent the email.
Also, I tested it on the latest build 311, and the error is still happening.
Any help would be greatly appreciated.
Sincerely,
Jeff Schwartz
-
9 Mar 2012 11:04 AM #6
Jeff -
Thanks for the test case, it's helped us isolate a bug in the drawing of the arrow linking.
The bug that is occurring is that channellist has been linked to two places. We are trying to link to a node which has not been created yet. In the interim if you expand out the "ChannelFilterViewTablet" view it will not cause this error.Aaron Conran
@aconran
Sencha Architect Development Team
-
9 Mar 2012 11:12 AM #7
Fixed in build > 311.
Aaron Conran
@aconran
Sencha Architect Development Team
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSGNR-1538
in
Architect 2.0.


Reply With Quote