Bug #87251
closedExceprion thrown when executing upgrade wizard SeparateSysHistoryFromSysLogUpdate
100%
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
Updated by Gerrit Code Review over 5 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59251
Updated by Gerrit Code Review over 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59251
Updated by Gerrit Code Review over 5 years ago
Patch set 5 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59250
Updated by Gerrit Code Review over 5 years ago
Patch set 6 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59250
Updated by Ioulia Kondratovitch over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a34228192734d11caeb0db40aa2d455f3a869e2c.