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

[BUGFIX] Ensure content object is available in UriBuilder

Since #100623, the content object might be NULL
as it is no longer set up when initializing the
UriBuilder, but instead when handing in the
current PSR-7 request.

This patch adds a fallback for v12 to ensure
having the content object available when
generating frontend urls.

Resolves: #100788
Related: #100623
Releases: main
Change-Id: I733b0019a974889970d63845e3afcff5113570d5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78920


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
parent 6fb93f48
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