#87251Exceprion thrown when executing upgrade wizard SeparateSysHistoryFromSysLogUpdate
Description
Steps:
Upgrade from TYPO3 8 to TYPO3 9:
execute upgrade wizard SeparateSysHistoryFromSysLogUpdate
Actual Result:
if for any reason value of log_data in the table sys_log is still NULL after processing the data, we get an exection and the script stops:
Argument 3 passed to TYPO3\CMS\Core\DataHandling\History\RecordHistoryStore::addRecord() must be of the type array, boolean given, called in /srv/www/nginx/web/typo3/sysext/install/Classes/Updates/SeparateSysHistoryFromSysLogUpdate.php on line 165
Problem:
Function addRecord of typo3/sysext/core/Classes/DataHandling/History/RecordHistoryStore.php expects 3rd parameter to be array. NULL provided.
Solution:
ensure that $logData is an array
Comment:
I cannot provide matching DB-data from sys_log and sys_history to reproduce this issue, since i am working with a database with over 2 Milliens entrys in the sys_log table and it is not possible to find the record producing this error