Project

General

Profile

Actions

Bug #103883

open

View generated in LinkBrowserController missed PageTS configuration

Added by Nicole Cordes 5 months ago. Updated 3 months ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
-
Start date:
2024-05-23
Due date:
% Done:

0%

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

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

Actions #1

Updated by Garvin Hicking 3 months ago

  • Category set to Site Handling, Site Sets & Routing
Actions #2

Updated by Nicole Cordes 3 months ago

Hi @Garvin Hicking

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.

Actions #3

Updated by Garvin Hicking 3 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 😅

Actions

Also available in: Atom PDF