Bug #92745

Page tree is not synchronized with Bookmark

Added by Xavier Perseguers 3 months ago. Updated 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2020-11-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

There is a regression in TYPO3 v9 (and that's the reason why I think it's not exactly the same as #83125 which I mark in relation anyway):

Up to TYPO3 v8, when you created a bookmark to some deep page and went to it, the page tree would expand and show the corresponding page you are landing to:

before clicking:

after clicking, the page tree reflects the current page:

TYPO3 v9

before clicking:

after clicking, you are naturally editing the correct page but the page tree is behaving like it's dead and does not show any sign of life, it is exactly the same as before:


Files

step1v8.png (42.4 KB) step1v8.png Xavier Perseguers, 2020-11-01 08:25
step2v8.png (15.1 KB) step2v8.png Xavier Perseguers, 2020-11-01 08:25
step2v9.png (19.1 KB) step2v9.png Xavier Perseguers, 2020-11-01 08:25
step1v9.png (34.5 KB) step1v9.png Xavier Perseguers, 2020-11-01 08:25
step3v8.png (57.2 KB) step3v8.png Xavier Perseguers, 2020-11-01 08:25

Related issues

Related to TYPO3 Core - Bug #83125: Selecting a bookmark in the backend should mark the page as selected in the page treeNew2017-11-27

Actions
#1

Updated by Xavier Perseguers 3 months ago

  • Related to Bug #83125: Selecting a bookmark in the backend should mark the page as selected in the page tree added
#2

Updated by Xavier Perseguers 3 months ago

Additional info: this is not just a missing page tree refresh signal, if you click refresh, nothing changes so the new state is not brought to the page tree.

#3

Updated by Xavier Perseguers 3 months ago

The problem exists in TYPO3 v10 as well (and thus master too).

#4

Updated by Tymoteusz Motylewski 2 months ago

there is an JS API for selecting page tree nodes.

Viewport.NavigationContainer.PageTree.selectNode(node);

Example usage:
https://github.com/typo3/TYPO3.CMS/blob/master/Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ContextMenuActions.ts#L238-L238

Also available in: Atom PDF