Review main Merged

91810[BUGFIX] Check if user is logged in before trying to create the pagecontext

Benjamin Kott CR +2 V +2 Easy +7 −0 updated 11/22/25, 09:33

Commit message

The PageContextInitialization middleware was attempting to create
a PageContext without verifying that a backend user is authenticated.
This could lead to unexpected behavior or errors when processing
requests for unauthenticated users.

The middleware now checks if the backend user is properly authenticated
before attempting to create the PageContext. If no authenticated user
is found, the middleware skips PageContext creation and passes the
request to the next handler.

This ensures the middleware only processes requests for authenticated
backend users, preventing potential issues with unauthenticated access.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
    • Oli Bartsch +1
  • Verified V +2 Done
    • Georg Ringer +2
    • Oli Bartsch +1
    • core-ci +1 CI

Issues 1

Files 1

Review log 45

  1. Benjamin Kott uploaded patch set 1 11/22/25, 08:39

  2. core-ci voted on patch set 1 V +1 11/22/25, 08:48 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/90623

  3. Oli Bartsch voted on patch set 1 CR +1 V +1 11/22/25, 08:55

  4. Georg Ringer voted on patch set 1 CR +2 V +2 11/22/25, 09:33

  5. Georg Ringer merged patch set 2 11/22/25, 09:33