Actions
Bug #99128
closedSymfony Command: Keyword 'new' breaks DependencyInjectionContainer file
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
-
Start date:
2022-11-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Given following Symfony Command configuration in the file EXT:test/Configuration/Services.yaml:
VENDOR\Test\Command\RegistrationCommand:
tags:
- name: 'console.command'
command: 'test:registration'
description: 'Checks new User registrations and logins'
The keyword new in the Command description breaks the DependencyInjectionContainer file:
$instance->setDescription('Checks \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstanceForDi(User registrations and logins');
cause of this is following method:
sysext/core/Classes/DependencyInjection/ContainerBuilder.php :: dumpContainer
Updated by Benjamin Franzke about 2 years ago
- Status changed from New to Needs Feedback
Thanks for reporting this issue.
With which v11 version did you experience this issue?
This should have been fixed as of v11.5.2,
see https://review.typo3.org/c/Packages/TYPO3.CMS/+/71606 and https://forge.typo3.org/issues/95607
Updated by Benjamin Franzke about 2 years ago
- Is duplicate of Bug #95607: Keyword "new" leads to corrupt DependencyInjectionContainer_...php added
Updated by Philipp Parzer about 2 years ago
- TYPO3 Version changed from 11 to 10
Can confirm - bug is fixed with 11.5.2
I am on version 10 LTS.
Updated by Georg Ringer almost 2 years ago
- Status changed from Needs Feedback to Closed
closing issue, nothing will be changed for 10 anymore I guess
Actions