Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Jan 2008
    Posts
    12
    Vote Rating
    0
    cadorn is on a distinguished road

      0  

    Default 'too much recursion' on TreePanel::setRootNode(~230 nodes)

    'too much recursion' on TreePanel::setRootNode(~230 nodes)


    I am trying to load the following nodes:

    https://gist.github.com/996247

    into a TreePanel with:

    Code:
    filesTree.setRootNode(nodes);
    When the tree gets deeper I am getting the following error (extjs 4.0.1):

    Code:
    message=>too much recursion,
    fileName=>http://127.0.0.1:9110/extjs4/ext-all-debug.js,
    lineNumber=>10487,
    stack=>([object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:10487
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13573
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ([object Object],(void 0),true)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:51741
    ([object Object],[object Array])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:53019
    ([object Object],[object Object],0,[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:52921
    ([object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:10502
    ("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13585
    ([object Object],[object Object],0,[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13768
    ([object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:10502
    ("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13573
    ("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    ("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
    How can I work around this or is that a bug that needs fixing?

    Thanks
    Christoph

  2. #2
    Ext JS Premium Member
    Join Date
    Jan 2008
    Posts
    12
    Vote Rating
    0
    cadorn is on a distinguished road

      0  

    Default


    Could I get an acknowledgment that this will be fixed in 4.0.2?

    Thanks
    Christoph