Issue Bug Closed

#101354UpgradeWizard marked as done failes with "No wizard found" error since v12

Stefan Bürk 07/14/23, 16:29 updated 07/09/24, 14:15

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

Reviews 2