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

[!!!][TASK] Avoid TSFE->applicationData

Property applicationData of TypoScriptFrontendController
is unfortunate: It is meant as an extension place to park
and communicate state using the just so convenient global
$GLOBALS['TSFE'] object.

Such things should of course be modeled differently, for
instance by adding own PSR-7 request attributes using a
custom middleware, or by firing own events for other
extensions to listen on.

In order to continue with our works on TSFE, the patch
removes that property.

The single use of that property in is ext:indexed_search:
It is used in combination with the crawler extension to
"force indexing". indexed_search now dispatches a proper
event instead.

Resolves: #102600
Releases: main
Change-Id: I2fdcbee8c196761670245cd90cb99414fc9beea7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82085


Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 171ef87f
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