Bug #97360
openPageTree does not reflect Navigation state
0%
Description
When using different means of navigating page, for example links in BackendModules or using a Deeplink, the
state of the page navigation does not reflect the currently shown page or its place inside.
Additionally, when trying to use JS inside of BE Modules to change the pagetree, the only method that kinda works is
by using SvgTree.filter(), since SvgTree.selectNode() will do nothing when the page is not given in current loaded nodes.
But using SvgTree.filter() this will leave one with a reduced or even empty tree where one has to reuse the search to get back to the tree.
Steps to reproduce:
1. use Page-Module + pagetree to go to page, page in pagetree has active state
2. change id in URL to another page
3. pagetree has no active page
Additional:
1. use document.querySelector('#typo3-pagetree-tree').filter('173'); inside console
2. have a filtered view with either page 173 or no page at all, but no filter set
Related:
https://forge.typo3.org/issues/89979
https://forge.typo3.org/issues/92745