Bug #103883
openView generated in LinkBrowserController missed PageTS configuration
0%
Description
Given:
- a package having following files:
Configuration/page.tsconfig with content templates.typo3/cms-backend.123 = EXT:foo/Resources/Private/TemplateOverrides
Resources/Private/TemplateOverrides/Templates/LinkBrowser/Page.html with content Foo
Configuration/PageTs/PageTs.typoscript with content templates.typo3/cms-backend.123 >
The given PageTS is used on the root page (in page settings).
Expectation:
- LinkBrowser in Redirect record (pageUid = 0) shows "Foo" in the page browser as the overrides template is used
- any other LinkBrowser (in page context) shows default page tree in browser
Actual:
- the reset of the overrides template isn't triggered. "Foo" is always shown.
The view is rendered in typo3/cms-backend/Classes/View/BackendViewFactory.php:73 expecting an "id" parameter in the request. This parameter isn't available in a "wizard/link/browse" context as the page id is provided in P[pid]=161 parameter
Updated by Garvin Hicking 4 months ago
- Category set to Site Handling, Site Sets & Routing
Updated by Nicole Cordes 4 months ago
Thank you for updating this ticket. I fear that the category isn't set properly. This issue is not related to Site Handling, although the redirects module is mentioned for testing purpose.
Updated by Garvin Hicking 4 months ago
- Category changed from Site Handling, Site Sets & Routing to System/Bootstrap/Configuration
You're right, sorry. I try to avoid "Miscellaneous" and not sure actually which category fits best.
"Typoscript" IMO doesn't fit because it's more related to a "backend view initialization" in PHP, if I read your suggestion right that a "id" init param sbould be expanded to use "P[pid]" in this case.
("Backend API" might also fit... so if you see another category to be better, please adjust)
I hope to be able to look into the actual issue in the future 😅