Missing dependencies & suggests when installing extensions via Composer
In TYPO3 6.2, I installed media & vidi extensions via Composer. But vidi is loaded after media in the PackageStates.php file. In the ext_emconf.php file of media extension, I notice vidi dependency & suggests are missing.
You can compare this file with the one in the github repo : https://github.com/fabarea/media/blob/3.7.0/ext_emconf.php
#3 Updated by Helmut Hummel about 4 years ago
- Category changed from composer to 1499
- Status changed from Needs Feedback to Accepted
David Lemaitre wrote:
vidi & media extensions require typo3 6.2, cant install via composer.
This has nothing to do with a composer install. If you download the extensions via TER, the same problem occurs.
It is because the PackageManager in 6.2 uses a composer.json file to extract dependencies in favor of ext_emconf.php files. Since media has no dependencies on the such composer.json file, this information is not used during dependency ordering of the PackageStates.php file.
Question is, whether we should fix this in 6.2 or tell people to move on to 7.6 and not use composer.json for extensions in 6.2
#8 Updated by Nicole Cordes over 3 years ago
- Status changed from Under Review to Rejected
Meanwhile there are updated versions of the extensions, compatible with 7.6. I don't see any reason to change the current composer behaviour in 6.2. IMHO there would be more trouble with such a patch. Therefore I decided to reject this ticket.