Issue Bug Closed

#97360PageTree does not reflect Navigation state

Matthias Adrowski 04/11/22, 13:07 updated 10/06/26, 18:38

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 7

  1. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2024-05-26T19:27:48+00:00" > 05/26/24, 19:27 </span>

    This issue affects for example the Live Search (tested with TYPO3 13.2.0-dev):

    1. open live search
    2. search for a page
    3. click on it (or click on the chevron and then on “show record list”

    Result: the pagetree does not update itself. It just remains where you were before, you don’t go on that page.

    [EDIT] The issue I described has been reported here: https://forge.typo3.org/issues/71491

  2. Georg Ringer commented and changed status Accepted Closed <span data-processor="relativetime" data-value="2026-10-06T18:38:02+00:00" > 10/06/26, 18:38 </span>

    can’t be reproduced in v15/v14, closing issue