I tried various things to fix this issue or to try to find more about it, and it still seems very unclear.
I tried re-applying the ICE-9533 fix, which was removed at some point, but it didn't help in this particular issue.
I tested with myfaces and there was no difference.
I tested with the 3.3 jars, and the same issue is present.
I tested by modifying the xhtml markup, removing and adding things, but the issues kept occurring.
I tested with other ace:tree demos, and I'm sure this issue is with the ace:tree component, and not with the ace:breadcrumbMenu component. The breadcrumb menu is built in a selection listener on the tree, but the problem occurs before getting to this point.
There are actually a number of issues here. One of them is that you can't deselect and then try to re-select a node. The node never gets selected again. Also, besides the issue in the description, when returning from the external page, it's not possible to expand provinces that were previously expanded.
However, these issues aren't present after reloading the page on the browser.
Another odd thing is that sometimes these issues aren't reproducible is the Chrome developer tools window is open, without having to reload the page.
The only thing I've managed to find out is the cause of the issue of not being able to re-select nodes. The hidden fields '_select' and '_deselect' aren't cleared after a select/deselect request, so after deselecting a node, it will always be in the deselect list. This doesn't happen with contraction/expansion, whose fields are always cleared.
This is still reproducible with Jenkins ICEfaces 4.1.1 Build #2/ ICEfaces 4 trunk r. 47579.