Project

General

Profile

Actions

Bug #90450

closed

Defining an alias for a command overwrites its original command name

Added by Helmut Hummel about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-02-20
Due date:
% Done:

100%

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

Description

Given the following DI service configuration

  TYPO3\CMS\Scheduler\Command\SchedulerCommand:
    tags:
      - name: 'console.command'
        command: 'scheduler:run'
        schedulable: false
      - name: 'console.command'
        command: 'my:scheduler:run'
        alias: true
        schedulable: false

I expect to see a scheduler:run command, which has an alias my:scheduler:run

What acutally happens is that there is only one command named my:scheduler:run


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #89139: Symfony Console Commands should be able to use dependency injectionClosedBenjamin Franzke2019-09-11

Actions
Actions

Also available in: Atom PDF