Bug #76675
closed
Layout Filename must be unique or frontend crashes
Added by martin no-lastname-given over 8 years ago.
Updated over 6 years ago.
Description
Apparently, if you use a Layout called "Default.html" and use the Form-Plugin on a page, the page will crash with the error message "Section "main" does not exist". After renaming the local Layout, the issues resolves. This appears to be a problem with generation of cached Layouts and their filenames.
- Sprint Focus set to Stabilization Sprint
- Target version changed from 8.2 to 8.3
- Category changed from Fluid to Form Framework
- Status changed from New to In Progress
- Assignee set to Björn Jacob
- Sprint Focus changed from Stabilization Sprint to On Location Sprint
- Status changed from In Progress to Needs Feedback
- Assignee changed from Björn Jacob to martin no-lastname-given
The problem is known and it should be fixed with the current master of fluid. Does this problem also occur with TYPO3 v7? Yesterday, I've spent some time to reproduce the problem. Could you please supply me some more information of your setup? Does it happen as soon as your FLUIDTEMPLATE is named "Default.html" or does it happen in confluence with another extension like yag (which also ships with a layout called "Default.html")?
Seems to work now in 8.3.0-dev now.
unable to reproduce on 8.3-dev (latest master)
- Target version changed from 8.3 to 8.4
- Target version changed from 8.4 to 8.5
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
- Related to Bug #79760: FLUIDTEMPLATE not rendered when Layout name collides with Layout name of FSC added
- Related to Bug #82745: fluid resolving an unexpected layout file added
Working solution: Just delete the 3 rows from your template:
--------------
<f:layout name="Default" />
<f:section name="main">
...
</f:section>
--------------
if you don't use them and your template works without them.
Tested and works in Typo3 8.5.1 and DCE 1.5.2 (which was upgraded from 1.4.8 and this reason caused this issue)
- Sprint Focus deleted (
On Location Sprint)
Also available in: Atom
PDF