Actions
Bug #67595
closedVariable in f:layout name leads to fatal error on second page load
Start date:
2015-06-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:
Description
After clearing cache the first page load generates the view, the second page load fails with the error.
Works in Typo3 7.2, doesn't work in Typo3 7.3.
Template
<f:layout name="{layout}" />
Error message
Call to a member function getOrNull() on a non-object
Error triggered in generated fluid template file
public function getLayoutName(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { return $currentVariableContainer->getOrNull('layout'); }
Actions