Project

General

Profile

Actions

Bug #101354

closed

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

Added by Stefan Bürk over 1 year ago. Updated 5 months ago.

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #99586: Auto-configure upgrade wizards via service tagClosedOliver Bartsch2023-01-17

Actions
Actions

Also available in: Atom PDF