Issue Bug Closed

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

Simon Gilli 05/24/22, 17:46 updated 10/04/22, 14:04

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

Reviews 2