-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
What are you trying to achieve?
In my functional test I want to load an extension with typo3fluid/fluid
dependency via $testExtensionsToLoad
.
What do you get instead?
Loading the extension my_extension
via $testExtensionsToLoad
results in the following error:
Package "my_extension" depends on package "typo3fluid/fluid" which does not exist.
How to reproduce the issue?
As above, load an extension with typo3fluid/fluid
dependency in the functional test's $testExtensionsToLoad
Additional information you would like to provide?
ComposerPackageManager::resolvePackageName
runs basename()
on the vendor "typo3fluid/fluid", leaving "fluid" which is the extension key of sysext:fluid, therefore loading the PackageInfo of sysext:fluid (not that of typo3fluid/fluid) and incorrectly evaluating isComposerDependency
to true.
Specify some data of the environment
- TYPO3 testing framework version: 8.0.9
- TYPO3 version: 12
- TYPO3 installation type: Composer
- PHP version: 8.1.27
- Web server used + version:
- Operating system: Ubuntu 20.04
Metadata
Metadata
Assignees
Labels
No labels