-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typo3fluid/fluid dependency picked up as sysext fluid #553
Comments
I think the main issue lies in |
Does your extension have a This is quite a hard topic, as "fallback" still needed. Some extensions do not have a That leads to naming conflicts. What is the reason to have the "low-level" fluid packages as dependencie added ? Would it not be enough to add typo3/cms-fluid as dependency which itself depends on fluid ? At least as a workaround. I will look into that, but this requires quite a lot of time with all moving parts - so it may take a while until I find enough time for this and re-arrange all parts. Dealing with packages/extensions "replaceing" other extension becomes even harder, as these informations are not downloaded by composer and are not available :/. Note: The fallback has been added to be compat with prior behaviour / pre-composer-installers 4RC1/5 |
We're using functionalities from
That's a great hint. We removed our ext_emconf.php files when we upgraded to TYPO3 12. Keeping this in mind, it may be a great help to get it working with the dependency in place. For now, we removed it. |
@saitho Read the whole thread again.
The point here is, that Thus simply don't mention / drop the non TYPO3 extension from You may still keep it as require entry within your extension composer.json. Within the Can you test this again by droping the "invalid" package as test extension to load entry ? |
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: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
runsbasename()
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 evaluatingisComposerDependency
to true.Specify some data of the environment
The text was updated successfully, but these errors were encountered: