Skip to content
Snippets Groups Projects
Commit a756ed78 authored by Claus Due's avatar Claus Due Committed by Markus Klein
Browse files

[BUGFIX] Prevent fatal error in TemplatePaths without TS

This fixes an issue with Fluid being asked to render a
template at an execution point where no TS can be
resolved (ConfigurationManager "get full typoscript"
returns null).

Casting the potentially null return value to an array
completely avoids the issue, since Fluid is perfectly
capable of generating fallback expected paths which
always point to the right extension resources folders.

Change-Id: I3e07fb0248cb9d0f1faa560e6f72a47e41314763
Releases: master
Resolves: #79098
Reviewed-on: https://review.typo3.org/51048


Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
parent 10748836
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment