Review main Ready for review Breaking

97866[!!!][TASK] Remove getData type "global"

Torben Hansen CR 0 V 0 Easy +19 −3 updated 11/21/26, 08:53

Commit message

The TypoScript getData type "global" allows reading arbitrary PHP
global variables. It is a leftover from times when frontend state
was kept in globals such as $GLOBALS['TSFE'].

Nowadays this state lives in request attributes, the Context API
and the site configuration, which are all accessible via dedicated
getData types like "request", "context", "site", "siteSettings" or
"getIndpEnv". The "global" type is therefore no longer needed and
is removed.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/66/97866/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/66/97866/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Merge conflicts 10

Issues 1

Files 2

Review log 12

  1. Torben Hansen uploaded patch set 1 11/21/26, 08:45

  2. core-ci voted on patch set 1 V +1 11/21/26, 08:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115111