Hello,
I have a tree grid that displays nodes with counts values for statuses and I have a ListGrid where this status value can be edited. I want the count values in the tree for the respective nodes to be updated when an edit is made. In the ListGrid's custom data source on executeUpdate, I call addRelatedUpdate for the Tree data source and pass in just the tree nodes whose count has been updated from the leaf node to the root node, but whenever I pass the root node in the related update, I get a 'Maximum call stack exceeded' error (copied below). If I remove that node from the list for the related update, the tree loads fine with the counts for all other tree items (except the root node, of course, since I didn't pass it in). Why is this error get thrown for the root node?
We are using SmartClient v8.3p_2013-07-18/Pro Deployment (built 2013-07-18).
Thanks.
I have a tree grid that displays nodes with counts values for statuses and I have a ListGrid where this status value can be edited. I want the count values in the tree for the respective nodes to be updated when an edit is made. In the ListGrid's custom data source on executeUpdate, I call addRelatedUpdate for the Tree data source and pass in just the tree nodes whose count has been updated from the leaf node to the root node, but whenever I pass the root node in the related update, I get a 'Maximum call stack exceeded' error (copied below). If I remove that node from the list for the related update, the tree loads fine with the counts for all other tree items (except the root node, of course, since I didn't pass it in). Why is this error get thrown for the root node?
We are using SmartClient v8.3p_2013-07-18/Pro Deployment (built 2013-07-18).
Code:
12:01:28.819:XRP5:WARN:ResultTree:isc_ResultTree_0 (created by: hierarchyTree):Adding node to tree with id property set to:10302. A node with this ID is already present in this Tree - that node will be replaced. Note that this warning may be disabled by setting the reportCollisions attribute to false. 12:01:28.820:XRP5:WARN:ResultTree:isc_ResultTree_0 (created by: hierarchyTree):Adding node to tree with id property set to:10401. A node with this ID is already present in this Tree - that node will be replaced. Note that this warning may be disabled by setting the reportCollisions attribute to false. 12:01:28.913:XRP5:WARN:Log:RangeError: Maximum call stack size exceeded Stack from error.stack: Array.join() @ native .debug._getStackTraceFromArgs() @ ISC_Core.js:692:42[d] .debug_getStackTrace() @ ISC_Core.js:682:229[d] [c]Timer.setTimeout() @ ISC_Core.js:954:21[d] markForAddToLog() @ ISC_DeveloperConsole.js:63:179[d] addToLog() @ ISC_DeveloperConsole.js:62:145[d] LogViewer.addToLog() @ ISC_Core.js:768:225 eval() @ ISC_Core.js:61:76), <anonymous>:3:209 isc_c_Log_addLogMessage() @ ISC_Core.js:735:164 isc_c_Log_log() @ ISC_Core.js:729:6 isc.$63b() @ ISC_Core.js:783:25
Comment