Review main Abandoned

91921[BUGFIX] Mitigate "TYPO3\CMS\Reports\StatusProviderInterface" not found

Stefan Bürk CR 0 V 0 Normal +99 −26 updated 11/28/25, 08:51

Commit message

`symfony/dependency-injection` changed behavior with `7.4`
now validating that service id's looking like classes or
interfaces really exists and otherwise fail to register
them and throwing a exception during depdency container
compile time.

`EXT:reports` is a optional system extension providing the
interfaces `StatusProviderInterface` and also the extending
`RequestAwareStatusProviderInterface` to allow extension to
implement service reports. Extensions using default code
snippet for their extension `Services.yaml` now fails having
their reports registered in case the optional `EXT:reports`
is not installed.

Following system extensions are affected by this change:

* `EXT:install`
* `EXT:redirects`
* `EXT:extensionmanager`

To mitigate the issue, autoconfiguration and loading are
prevented for these classes in `Services.yaml` or using
attributes and done conditionally in `Services.php` after
verifing the interface exists and is loaded. `Services.php`
is added in case it was missing.

Change will be possibly modified during backport in case
some reports does not exists or other reports needs to
be added.

[1] https://github.com/symfony/dependency-injection/commit/e58da973e98fd3460813a02203d9987fa664863c
[2] https://github.com/symfony/symfony/pull/61215

Review

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

Issues 1

Files 8

Review log 58

  1. Stefan Bürk uploaded patch set 1 11/27/25, 21:27

  2. Stefan Bürk updated the commit message in patch set 2 11/27/25, 21:29

  3. core-ci voted on patch set 1 V +1 11/27/25, 21:36 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91137

  4. core-ci voted on patch set 2 V +1 11/27/25, 21:38 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91138

  5. Stefan Bürk updated the commit message in patch set 3 V +1 11/27/25, 21:44

  6. core-ci voted on patch set 3 V +1 11/27/25, 21:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91139

  7. Stefan Bürk commented on patch set 3 11/27/25, 22:16

    Unresolved

    For reviews, can be testes as composer mode in monorepo: ``` cd Build/composer \ && cp composer.dist.json composer.json \ && composer install \ && composer remove typo3/cms-reports \ && vendor/bin/typo3 cache:flush \ && vendor/bin/typo3 cache:warmup \ && vendor/bin/typo3 setup \ --driver=sqlite \ --admin-username=john-doe \ --admin-user-password='John-Doe-1701D.' \ --admin-email='john.doe@example.com' \ --project-name='TYPO3 Contribution' \ --no-interaction \ --server-type=apache \ --force \ && composer info symfony/dependency-injection ```
  8. Stefan Bürk abandoned the change 11/28/25, 08:51

    in favour of 91926: [WIP][BUGFIX] Account for symfony/dependency-injection:7.4 incompatibility | https://review.typo3.org/c/Packages/TYPO3.CMS/+/91926