Project

General

Profile

Actions

Bug #87251

closed

Exceprion thrown when executing upgrade wizard SeparateSysHistoryFromSysLogUpdate

Added by Ioulia Kondratovitch over 5 years ago. Updated almost 5 years ago.

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 #1

Updated by Ioulia Kondratovitch over 5 years ago

  • Description updated (diff)
Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

Updated by Ioulia Kondratovitch over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF