Skip to content
Snippets Groups Projects
Commit 9e0e316e authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Prevent application type exception in ViewHelper

In case the "f:format.html" ViewHelper is called
in the install tool or via CLI, there might be either
no request object or one without an application
type. This led to an exception on checking the
application type.

This is now fixed by checking the request before
calling the static ApplicationType check.

Resolves: #96788
Releases: main, 11.5
Change-Id: I1e48a3556d510d2af82d4f95828d44c182db0663
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73422


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent ab6a4571
Branches
Tags
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