Actions
Bug #101354
closedUpgradeWizard marked as done failes with "No wizard found" error since v12
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-07-14
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Since TYPO3 v12 executing a specific upgrade wizard by identifier
using the cli command returns a non-zero exit code along outputting
a "No wizard found" error message.
The behaviour before v12 was to avoid running it, but returning a
exit code of 0.
Expected behavour is that a already run and marked as done upgrade
wizard should not exit with non-zero exit code and outputting a
missleading not found error.
TYPO3 v11:
$ bin/typo3 upgrade:run svgFilesSanitization ; echo "$?" 0
TYPO3 v12:
$ bin/typo3 upgrade:run svgFilesSanitization ; echo "$?" [ERROR] No such wizard: svgFilesSanitization 1
The behaviour changed with adding the ability to register
upgrade wizatd by a PHP attribute with #99586
Actions