We found an issue in the TreePanel selection behavior. The behavior is different from previous releases and is shown when the check cascade style is set to CHILDREN. When child nodes are checked and the parent is collapsed the child nodes loose the checked property. This behavior can also be seen in the TreePanel example on http://www.sencha.com/examples/#checkboxtree (currently version 2.2.5)
* Open the function
* Set cascade behavior to CHILDREN
* Expand some nodes e.g. Beethoven/Sonatas
* Check box items
* Collapse sonatas or Beethoven
* Expand the node you just collapsed.
The nodes which where checked are now unchecked.
Can you fix this so that the child nodes are kept checked?
Yes, i noticed that when looking into to code. However, the thing is we (finally) upgrade, from 2.2.1, to 2.2.5 which introduced this bug. I just did check the old version again and there collapsing/expanding parent nodes is not a problem when child nodes are checked.