Project

General

Profile

Actions

Bug #93098

closed

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

Added by Sebastian Michaelsen over 3 years ago. Updated over 1 year ago.

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 #1

Updated by Sebastian Michaelsen over 3 years ago

  • Description updated (diff)
Actions #2

Updated by Sebastian Michaelsen over 3 years ago

  • Description updated (diff)
Actions #3

Updated by Georg Ringer over 3 years ago

  • Status changed from New to Accepted
Actions #4

Updated by Benni Mack over 2 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.

Actions #5

Updated by Riccardo De Contardi over 1 year 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

Actions

Also available in: Atom PDF