Actions
Bug #87251
closedExceprion thrown when executing upgrade wizard SeparateSysHistoryFromSysLogUpdate
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2018-12-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
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
Actions