Issue Bug Closed

#104113Page tree: Switching from one "Module: Web -> …" to another "Module: Web -> …" and the active page is gone

Ayke Halder 06/14/24, 13:10 updated 06/14/24, 14:17

Description

Switching pages inside a “Module: Web-> …” and then switching from one “Module: Web-> …” to another “Module: Web -> …”:

—> The page tree does not keep the active page.

See video attachment:typo3-page-tree-url-info-module.webm

Steps to reproduce:

1. Click on “Module: Web -> Page”: https://typo3.cms.ddev.site/typo3/module/web/layout?id=0
2. Click a page in page-tree: https://typo3.cms.ddev.site/typo3/module/web/layout?id=246
3. Click on “Module: Web -> Info”: https://typo3.cms.ddev.site/typo3/module/web/info?id=246
4. Click another page in page-tree: https://typo3.cms.ddev.site/typo3/module/web/info/translations?id=245
5. Go to another Module e.g. “Module: Web -> Page”: https://typo3.cms.ddev.site/typo3/module/web/layout?id=0_218_245

—> In “Module: Web -> Page” the active page is the root-element 0, and not the active page from the page-tree.

(6. Should not be neccessary: click again on already selected page in page-tree: https://typo3.cms.ddev.site/typo3/module/web/layout?id=245 )

—> The active page from the page-tree becomes the active page in “Module: Web -> Page”.

Technical background

Switching the page while in one of the Modules “Module: Web -> …” might store a wrong id-parameter:
@id=0_218_245@ – looks like rootline-path
Should be:
@id=245@

Then after switching to another Module “Module: Web -> …” the TYPO3-BE-url id-parameter is wrong:
@https://typo3.cms.ddev.site/typo3/module/web/layout?id=0_218_245@
Should be:
@https://typo3.cms.ddev.site/typo3/module/web/layout?id=245@

Reviews 0

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