Review main Merged

93742[BUGFIX] Enable DI for deprecated `EXT:install` update classes

Stefan Bürk CR +2 V +2 Easy +4 −0 updated 04/20/26, 10:02

Commit message

With #106956 the upgrade wizards were relocated from EXT:install
to EXT:core, and aliased with their own FQCNs.

However, utilizing e.g.
`TYPO3\CMS\Install\Updates\DatabaseUpdatedPrerequisite` in the
`getPrerequisites()` method of an upgrade wizard would lead
to a dependency injection error:

```
Uncaught TYPO3 Exception Too few arguments to function
TYPO3\CMS\Core\Upgrades\DatabaseUpdatedPrerequisite::__construct(),
0 passed in /var/www/html/typo3-core/typo3/sysext/core/Classes/
Utility/GeneralUtility.php on line 2885 and exactly 2 expected
thrown in file /var/www/html/typo3-core/typo3/sysext/core/Classes/
Upgrades/DatabaseUpdatedPrerequisite.php in line 35
```

This patch inserts the proper DI resource location in the service
definition so it can be utilized for aliasing.

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
    • Oliver Klee +1
    • Garvin Hicking +1
  • Verified V +2 Done
    • Stefan Bürk +2
    • Oliver Klee +1
    • Garvin Hicking +1
    • core-ci +1 CI

Issues 5

Files 1

Review log 79

  1. Stefan Bürk uploaded patch set 1 04/20/26, 09:01

  2. Garvin Hicking updated the commit message in patch set 2 04/20/26, 09:14

  3. Garvin Hicking marked it ready for review 04/20/26, 09:14

  4. Garvin Hicking voted on patch set 2 CR +1 V +1 04/20/26, 09:14

  5. Oliver Klee voted on patch set 2 CR +1 V +1 04/20/26, 09:19

  6. core-ci voted on patch set 2 V +1 04/20/26, 09:48 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100538

  7. core-ci voted on patch set 1 V +1 04/20/26, 10:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100534

  8. Stefan Bürk voted on patch set 2 CR +2 V +2 04/20/26, 10:02

  9. Stefan Bürk merged patch set 3 04/20/26, 10:02