Skip to content
Snippets Groups Projects
Commit 2e5a0f97 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Reduce extbase magic in FluidTemplateContentObject

FluidTemplateContentObject has some magic to adapt
the given request *if* the request is an extbase
request already.

This code is relatively obviously obsolete: Only
extbase bootstrap creates extbase requests (and
actually, the code *below* the lines changed by
this patch in FluidTemplateContentObject, those
will see a separate deprecation or removal patch,
soon).

So, when FluidTemplateContentObject is called
for whatever reason with an extbase request, it
has been created by a proper extbase bootstrap
call, wich created a "correct" extbase request
already. There is no need to tamper with this
in FluidTemplateContentObject again. Note this
wasn't the case with earlier TYPO3 versions where
extbase requests were created within StandaloneView,
a misuse we got rid off in v12.

The patch removes these extbase request
manipulations from FluidTemplateContentObject.

Resolves: #104473
Related: #104472
Related: #104471
Related: #98377
Releases: main
Change-Id: Id4fc202f140fe270e35259251ed052752c2c6ed0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85348


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarSimon Praetorius <simon@praetorius.me>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarSimon Praetorius <simon@praetorius.me>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 2d89d93d
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