Description of problem:
Changing focus to the parent node when closing it while some of its children are in focus doesn't work reliably. It is consistently broken in the group tree but I was able to reproduce it a couple of times in the resource tree as well.
Version-Release number of selected component (if applicable):
as of commit 1baa393
group tree - always
resource tree - rarely
Steps to Reproduce:
1. Select a node with content in the tree (i.e. a resource cluster in group tree or a resource or autogroup in the resource tree) that has "selectable" parent (for example Logging resource under a JVM resource under JBossAS)
2. Try to close the parent node (i.e. the JVM node in the example)
Group tree - the focus changes to the parent node but it stays open
Resource tree - usually works as expected but rarely exhibits the same behavior as group tree
The parent node should gain focus and be collapsed.
Fixed in commit 5680ddb.
The behaviour should now be consistent across the different trees.
Verified on jon build #152 (Revision: 10620)
selected a node (Ex: logging resource under a JVM resource under JBossAS) and observed that on closing, the parent node(JVM) gets focus and collapsed.
Mass-closure of verified bugs against JON.