testing-framework icon indicating copy to clipboard operation
testing-framework copied to clipboard

[FEATURE] Add support for composer.json only extensions

Open DanielSiepmann opened this issue 2 years ago • 3 comments

The internal array always uses the extension key. Not having an ext_emconf.php with dependencies to extension keys, but only a composer.json with dependencies to package names will always result in:

UnexpectedValueException: The package "extension_key" depends on "composer/package-key" which is not present in the system.

This is a common situation in modern TYPO3 projects where multiple extensions are given which declare their internal dependencies to have proper TYPO3 loading order.

A fallback from the dependency (which might be the composer name) to the actual extension key is added.

Resolves: #541

DanielSiepmann avatar Feb 14 '24 12:02 DanielSiepmann

Should this only go into the main branch, or would it make sense to backport it to 7.x as well?

oliverklee avatar Feb 14 '24 12:02 oliverklee

I'm fine with both. I personally need this in one project where we apply this as a patch. I'd leave this up to the maintainer to decide.

DanielSiepmann avatar Feb 14 '24 12:02 DanielSiepmann

Looks like there is somehow an issue with loading order within acceptance tests … I'll investiage.

DanielSiepmann avatar Feb 15 '24 06:02 DanielSiepmann