Review 13.4 Merged

92976[BUGFIX] Fix preselection in page browser/tree component

Benjamin Franzke CR +2 V +2 Easy +9 −4 updated 02/24/26, 12:02

Commit message

Preselection was not applied because the handlers were registered via
the `tree:initialized` event, which is fired after loading data.

Now, the `typo3:tree:node-selected` and `typo3:tree:nodes-prepared`
handlers are registered directly on the tree, ensuring the active page
is marked correctly.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Benjamin Franzke commented on patch set 1 02/24/26, 11:30

    Cherry Picked from branch main. The following files contain Git conflicts: * Build/Sources/TypeScript/backend/tree/page-browser.ts * typo3/sysext/backend/Resources/Public/JavaScript/tree/page-browser.js
  2. Benjamin Franzke uploaded patch set 2 02/24/26, 11:34

  3. core-ci voted on patch set 2 V +1 02/24/26, 11:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96720

  4. Benjamin Franzke merged patch set 3 02/24/26, 12:02