Epic #88540

Reduce dependencies to TSFE in Frontend Request Workflow

Added by Benni Mack 10 months ago. Updated about 1 month ago.

Should have
Target version:
Start date:
Due date:
% Done:


Sprint Focus:


The Frontend Request Workflow has seen drastic separation
due to the introduction of PSR-15 (Middleware concept) and
the Context API in TYPO3 v9.

For TYPO3 v10, this now allows to further refactorings
to reduce dependencies to TSFE, allowing to run various
parts of TYPO3 Frontend without having a global TSFE object
in place.

The goal is to set up:
- Site + Language
- Redirects
- Page ID Resolving
- Page Argument Validation (cHash)
- Frontend + Backend User Authentication

before any TSFE dependency is in place.

Further refactorings can then happen as TSFE is scoped
more into parts of TYPO3.


Task #88541: Move Frontend User session saving into MiddlewareClosedBenni Mack

Task #88717: Rework TSFE dependenciesClosedBenni Mack

Bug #88747: Clean up TSFE constructor initializationClosedBenni Mack

Associated revisions

Revision 0d2e6169 (diff)
Added by Benni Mack 10 months ago

[!!!][TASK] Move Frontend User session saving into Middleware

For further TSFE-related changes, the frontend request
workflow now stores user-/session-related information
in the middleware.

This is a first step in order to reduce the dependencies
of TSFE + FrontendUserAuthentication.

This patch is breaking as certain hooks (like EOFE)
do not have session data stored anymore.

Related: #88540
Resolves: #88541
Releases: master
Change-Id: I1e9a66b759d6edfd4c0e5a8ede02aa7a73b65b0f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60939
Tested-by: Georg Ringer <>
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Georg Ringer <>
Reviewed-by: Oliver Hader <>
Reviewed-by: Andreas Fernandez <>


#1 Updated by Georg Ringer 9 months ago

  • Status changed from New to In Progress

#2 Updated by Georg Ringer about 1 month ago

  • Status changed from In Progress to Closed

closing this umbrella task for the time being

#3 Updated by Georg Ringer about 1 month ago

  • Target version set to 10 LTS

Also available in: Atom PDF