Skip to content
Snippets Groups Projects
Commit ddcf2874 authored by Helmut Hummel's avatar Helmut Hummel Committed by Stefan Bürk
Browse files

[TASK] Clean up usages of ContentObjectRenderer request attribute

ContentObjectRenderer is now added as request attribute in
certain cases. But since the signature of obtaining an attribute
from a request correctly states, that the attribute can be null,
consuming code should account for that and defensively
fall back to defaults, when the object can not be obtained.

Releases: 12.4, main
Resolves: #101201
Change-Id: I3b3145794cafd8f5a8c1081e97599f9862be8b99
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80921


Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 1a186040
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