Project

General

Profile

Actions

Bug #80556

closed

Inconsistent handling of lower- and uppercase handling in TypoScript

Added by Ingo Nolden over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2017-03-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In fileadmin I have the file
fileadmin/templates/layouts/main_layout.html

In my root template I have the following TypoScript:

page.10 = FLUIDTEMPLATE
page.10 {
    format = html
    file = fileadmin/templates/layouts/main_layout.html
    partialRootPath = fileadmin/templates/partials/
    layoutRootPath = fileadmin/templates/layouts/
    variables {
        content_main < styles.content.get
        content_main.select.where = colPos = 0
    }
}

When rendering the frontend it leads to the following exception:

Oops, an error occurred!
The Fluid template files "/var/www/html/t3buddy/fileadmin/templates/layouts/Main_layout.html", "/var/www/html/t3buddy/fileadmin/templates/layouts/Main_layout" could not be loaded.

When renaming the file to Main_layout.html the rendering works.
So it forces me to rename the File.
But then I have an incositent situation:

Filename: *M*ain_layout.html
TypoScript: *m*ain_layout.html

Actions #1

Updated by Christian Kuhn over 7 years ago

  • Status changed from New to Rejected

from claus due in slack:
"Fluid templates are case sensitive and must begin with uppercase; Layout and Partial should but are not required to."

Actions

Also available in: Atom PDF