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

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74739

Actions #2

Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74739

Actions #3

Updated by Gerrit Code Review almost 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74755

Actions #4

Updated by Helmut Hummel almost 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF