Skip to content
Snippets Groups Projects
Commit 9ebc397b authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Benjamin Franzke
Browse files

[BUGFIX] Prevent null pointer exception in ContentObjectRenderer

The $request might not be initialized, that's
why the getRequest() method has to be used in
ContentObjectRenderer.

This is now done for newly introduced occurrences,
accessing the class property directly.

Resolves: #103407
Releases: main
Change-Id: I466f31316b2885132288cbc8745f3dc4760bdcf2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83497


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent d3e492e2
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