Project

General

Profile

Actions

Bug #103447

closed

Upgrade Wizard command exits with error when no changes need to be made

Added by Mario Lubenka about 2 months ago. Updated 26 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Install Tool
Target version:
-
Start date:
2024-03-21
Due date:
% Done:

100%

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

Description

We're running typo3 upgrade:run sysLogSerialization during our upgrade process (TYPO3 CMS v11 to TYPO3 CMS v12).

Apparently there is nothing to do, so the wizard is marked as done in getWizard(). After that, NULL is returned.
In doing so, the CLI command then reports that the wizard does not exist and fail the command entirely, causing our deployment to fail as well.

 ! [NOTE] Wizard sysLogSerialization does not need to make changes. Marking wizard as done.                             

 [ERROR] No such wizard: sysLogSerialization

Is this intended behaviour?
I'd expect the command to succeed even when there is no work to be done by the upgrade wizard.

Actions

Also available in: Atom PDF