Project

General

Profile

Actions

Bug #79098

closed

CMS Fluid adapter can cause fatal PHP error

Added by Claus Due almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-12-27
Due date:
% Done:

100%

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

Description

When attempting to render a template when a valid TS configuration cannot be found, a fatal php error is triggered because ConfigurationManager returns NULL when asked to return "all typoscript".

This is very much an edge case, but it can be completely and safely prevented by casting the output of "all typoscript" to an array (empty array, causes pointing to extension's default expected template folders).

Actions

Also available in: Atom PDF