Review main Ready for review

97617[BUGFIX] Report folders not recognized as extensions

Benni Mack CR +1 V +1 Hard +354 −14 updated 11/20/26, 15:02

Commit message

Since composer.json is mandatory in classic mode, a folder in
typo3conf/ext without one is skipped by the package scan without
any notice. The same happens to a composer.json that is no valid
JSON, declares no TYPO3 package type, or lacks the version or
"providesPackages". The extension then just does not show up in
the Extension Manager, and nothing explains why.

Such folders are now listed with the reason in an infobox above the
extension list of the Extension Manager and as a warning in the
"Extension Manager" section of the status report, together with a
link to the changelog entry on the required composer.json.

A composer.json of type "typo3-cms-extension" without an extension
key made the package scan throw an exception, which broke the
Extension Manager altogether. The scan skips such a folder now and
logs a warning, as it does for an invalid composer.json.

Uploading an archive without composer.json already fails with a
meaningful message since #110703.

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

Review

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

Relation chain 2

  1. main 94964[!!!][TASK] Remove the extension list import from EM Based on this change Merge conflict Benni Mack CR 0 V 0 Nightmare +676 −3475
  2. 97617 [BUGFIX] Report folders not recognized as extensions This change

Merge conflicts 2

Issues 2

Files 10

Review log 57

  1. Benni Mack uploaded patch set 1 11/13/26, 14:53

  2. Benni Mack rebased onto patch set 2 11/14/26, 10:30

  3. core-ci voted on patch set 2 V -1 11/14/26, 10:44 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114431

  4. Benni Mack rebased onto patch set 3 V -1 11/14/26, 11:07

  5. core-ci voted on patch set 3 V +1 11/14/26, 11:31 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114444

  6. Georg Ringer commented on patch set 3 11/14/26, 15:37

    Thanks a ton for that! I really like it, however one possible improvement: > The following folders in "/var/www/html/typo3conf/ext" are not loaded as extensions instead of "loaded" I would go with
  7. Garvin Hicking voted on patch set 3 CR +1 V +1 11/20/26, 15:02