Context API is not used in TemplateService->versionOL
[BUGFIX] Use Context API for TemplateService->versionOL
The Context API can be used now within
TemplateService to fetch a version overlay, which now
only relies on the PageRepository (which also uses Context API),
to avoid certain magic detection of Frontend/Backend mode.
TemplateService is only used to fetch sys_template
records in this use-case.
Tested-by: TYPO3com <firstname.lastname@example.org>
Tested-by: Daniel Gorges <email@example.com>
Tested-by: Daniel Goerz <firstname.lastname@example.org>
Reviewed-by: Daniel Gorges <email@example.com>
Reviewed-by: Daniel Goerz <firstname.lastname@example.org>
#1 Updated by Gerrit Code Review 26 days ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61126