Opened 10 years ago
Closed 10 years ago
#12800 closed defect (fixed)
Tree: persistence breaks with multi-parented items
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Dijit | Version: | 1.6.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Despite dojo tree is said to support multiple nodes for the same tree item this support is limited in the following way. The state of the node (expanded or collapsed) is stored on per item basis, not per node basis. This means for example that when a tree is loaded and its previous state is reconstructed all the nodes corresponding to the same item will be either all collapsed or all expanded. This in turn results in an infinite recursion in case when a node has a child (not obligatory a direct child) node corresponding to the same item.
Note: See
TracTickets for help on using
tickets.
(In [24528]) Store paths in cookie rather than item id's, since an item can occur in multiple positions in the tree. Fixes #12800 !strict.