Project

General

Profile

Actions

Bug #63375

closed

StandaloneView must require upperCase file names for Partials and Layouts

Added by Anja Leichsenring over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Should have
Category:
Fluid
Target version:
-
Start date:
2014-11-27
Due date:
% Done:

0%

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

Description

In order to ensure the convention of uppercased filenames is met, a check for the casing of those files is added.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #63367: superfluous ucfirst() kills FE rendering with FLUIDTEMPLATEClosedMarkus Klein2014-11-27

Actions
Related to TYPO3 Core - Bug #63388: UpperCamelCase for Partials and Layouts is requiredClosed2014-11-28

Actions
Actions #1

Updated by Gerrit Code Review over 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34708

Actions #2

Updated by Henrik Ziegenhain over 9 years ago

Is this also in 6.2.7 now?!

After updating from 6.2.5 to 6.2.7 I get the following exception:

Uncaught TYPO3 Exception
#1288092556: Could not load partial file. Tried following paths: "/www/htdocs/hosting/fileadmin/templates/layouts/Default.html", "/www/htdocs/hosting/fileadmin/templates/layouts/Default".

Actions #3

Updated by Thomas Diedenhoven over 9 years ago

I can reproduce the problem too (update from 6.2.6 to 6.2.7). I patched it temporary by commenting out the lines $actionName = ucfirst($actionName) in TYPO3\CMS\Fluid\View\TemplateView.php

Actions #4

Updated by André Spindler over 9 years ago

I can confirm this regression. But: "In order to ensure the convention of uppercased filenames is met" - where is this requirement defined - for integrators?

Templating is mainly done by integrators. IMHO there should be suggestions, but not requirements for then. For extension developers I support such requirements.

Actions #5

Updated by Benni Mack over 9 years ago

  • Status changed from Under Review to Rejected

we will not ensure any casing for template files except the templates constructed from the action name.

Actions

Also available in: Atom PDF