Project

General

Profile

Actions

Bug #67595

closed

Variable in f:layout name leads to fatal error on second page load

Added by Reinis Zumbergs over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
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');
}


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #67544: FLUIDTEMPLATE fatal error when cachedClosed2015-06-17

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/40430

Actions #2

Updated by Gerrit Code Review over 9 years ago

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

Actions #3

Updated by Gerrit Code Review over 9 years ago

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

Actions #4

Updated by Anonymous over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF