Bug #93098
closedMissing 'depends' section in ext_emconf.php leads to error
0%
Description
If an extension has no 'depends'
section in ext_emconf.php
, but requires packages via composer.json
, then during install:generatepackagestates
an error is raised:
The package "myext" depends on "my/composer-package" which is not present in the system.
When putting 'constraints' => ['depends' => []],
into ext_emconf.php
it works fine.
Especially for project specific local extensions you may not have any dependencies specified. When it works with the empty depends array, it should also be possible to leave it out entirely.
Updated by Benni Mack almost 3 years ago
- Status changed from Accepted to Needs Feedback
Hey Sebastian,
which extension has which dependency file? I guess you have two extensions depending on each other? Can you share example ext_emconf.php and composer.jsons?
Does this also happen in v11?
All the best,
Benni.
Updated by Riccardo De Contardi about 2 years ago
- Status changed from Needs Feedback to Closed
No feedback since the a very long time => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.
Thank you and best regards