Bug #93098

Missing 'depends' section in ext_emconf.php leads to error

Added by Sebastian Michaelsen 2 months ago. Updated 2 months ago.

Status:
Accepted
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.

#1

Updated by Sebastian Michaelsen 2 months ago

  • Description updated (diff)
#2

Updated by Sebastian Michaelsen 2 months ago

  • Description updated (diff)
#3

Updated by Georg Ringer 2 months ago

  • Status changed from New to Accepted

Also available in: Atom PDF