Issue Bug Closed

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

Mario Lubenka 03/21/24, 08:31 updated 07/09/24, 15:38

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.

Reviews 2