[TASK] Throw exception when CLI command is added twice 16/51316/4
authorBenni Mack <benni@typo3.org>
Sun, 15 Jan 2017 13:22:44 +0000 (14:22 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Tue, 14 Feb 2017 19:57:17 +0000 (20:57 +0100)
If two extensions register the same command, the "last one"
wins currently.

The patch throws an exception if there is already a name
or alias with this command name.

Resolves: #79590
Releases: master
Change-Id: Iaafb97d88455077ab60689c32dda0580c47e0b47
Reviewed-on: https://review.typo3.org/51316
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>

No differences found