Actions
Bug #93098
closedMissing 'depends' section in ext_emconf.php leads to error
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-12-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Actions