Project

General

Profile

Actions

Bug #105402

closed

templateName in FLUIDTEMPLATE is ignored if a template named Default.html exists

Added by David Hoeckele about 1 month ago. Updated 13 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2024-10-23
Due date:
% Done:

0%

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

Description

I'm upgrading an TYPO3 from 12 to 13 which has four page templates and according backend layouts. On of the templates is named "Default.html".

Calling a page with e.g. backend-layout/template "Article" selected + page is not from cache => "Article" is used
Calling a page with e.g. backend-layout/template "Article" selected + page is from cache => "Default" is always used

Even if I override the templateName like in the example below, "Default" is used when page is delivered from cache.

page = PAGE
page {
    typeNum = 0

    10 = FLUIDTEMPLATE
    10 {
        templateName = Article
        ...
    }
    ...
}

Deleting or renaming the Default.html fixes the problem. This only happens if an "Default.html" exists

Actions

Also available in: Atom PDF