Problem with tree2 (Encountered a node [0:0] + with an illogical state.)
Hi all.
In my web application if i show a tree2 component with four levels of nodes (with all its nodes expanded), and i change the input data getting a new tree2 component with only two nodes (for example) i get this exception
Encountered a node [0:0] + with an illogical state. Node is expanded but it is also considered a leaf (a leaf cannot be considered expanded.
I've noticed that although i change the input data and show a new tree2, the number of nodes expanded are always the same.
I mean if i have expanded 4 levels of nodes and change the input data in order to get a new tree2, this new tree2 has the same number of nodes expanded and in the same order.
And, of course, if this new tree2 has only two levels of nodes, i get the exception.
But if i collapse all nodes before change the input data i never get this error.
Can anybody help me? It's not a problem of tomahawk versions.
Thanks a lot.

