Project

General

Profile

Actions

Task #54509

closed

renderSection (and renderPartial) fails when using StandaloneView

Added by Stig Nørgaard Færch over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2013-12-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Fatal error: __clone method called on non-object in /home/sites/*********/htdocs/typo3_src-6.2.0beta1/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php on line 227

The first line in renderSection() calls
$renderingContext = $this->getCurrentRenderingContext();

in getCurrentRenderingContext() we have:
$currentRendering = end($this->renderingStack);

the problem seems to be that $this->renderingStack never contains any object when using StandaloneView.

the only place that renderingStack seems to be filled is in startRendering(). But I cannot seem to find any public function which will invoke this function.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #69863: Use new standalone Fluid as composer dependencyClosedClaus Due2015-09-16

Actions
Actions

Also available in: Atom PDF