Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Ready for review

98017[TASK] Pass bootstrap LogManager to ErrorHandler

Benni Mack CR 0 V -1 Easy +30 −7 updated 11/25/26, 13:37

Commit message

ErrorHandler fetched the LogManager via GeneralUtility::makeInstance()
for every deprecation it logged. Deprecations raised before the
container exists therefore created a new LogManager on each call.

Bootstrap now passes its LogManager to the error handler, which uses
it for the deprecation channel. An error handler without a
LogManager does not log deprecations at all, instead of fetching one
before the log configuration is available.

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 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/17/98017/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/17/98017/2 && git cherry-pick FETCH_HEAD

Review

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

Relation chain 2

  1. 98017 [TASK] Pass bootstrap LogManager to ErrorHandler This change

  2. 98016[!!!][TASK] Drop SingletonInterface from LogManager This change is based on it Benni Mack → main Easy +36 −13 CR 0 V 0

    The chain has patch set 1 of 2, the changes above it need a rebase.

Issues 2

Files 4

Review log 24

  1. Benni Mack uploaded patch set 1 11/25/26, 13:17

  2. core-ci voted on patch set 1 V -1 11/25/26, 13:22 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115449

  3. Benni Mack uploaded patch set 2 V -1 11/25/26, 13:36

  4. core-ci voted on patch set 2 V -1 11/25/26, 13:37 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115454