Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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: core-ci <typo3@b13.com> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Stefan Bürk <stefan@buerk.tech> Tested-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Stefan Bürk <stefan@buerk.tech> Reviewed-by: Oliver Bartsch <bo@cedev.de>
- Loading branch information