Project

General

Profile

Bug #101354

Updated by Stefan Bürk 10 months ago

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: 

 <pre> 
 $ bin/typo3 upgrade:run svgFilesSanitization ; echo "$?" 
 0 
 </pre> 

 TYPO3 v12: 

 <pre> 
 $ $ bin/typo3 upgrade:run svgFilesSanitization ; echo "$?" 

                                                                                                                        
  [ERROR] No such wizard: svgFilesSanitization                                                                            
                                                                                                                        

 1 

 </pre> 

 The behaviour changed with adding the ability to register 
 upgrade wizatd by a PHP attribute with #99586

Back