Project

General

Profile

Actions

Bug #97688

closed

Installing extension with a service as dev dependency throws when reinstalling without dev dependencies

Added by Simon Gilli almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
composer
Target version:
-
Start date:
2022-05-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If an extension containing a service is required as dev dependency and the project is after a normal installation installed without dev dependencies an exception is thrown in the ServiceProviderRegistry.

To reproduce the extension Mask can be installed as dev dependency:

typo3cms database:updateschema '*.add,*.change'

[ InvalidArgumentException ]  
Package mask is not active

Exception code: 1550351445

Exception trace:
#0 ()
vendor/typo3/cms-core/Classes/DependencyInjection/ServiceProviderRegistry.php:123

Actions

Also available in: Atom PDF