Actions
Bug #91143
openDatahandler should check return value of checkStoredRecord
Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2020-04-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In datahandler isertDB the return value of checkStoredRecord is not being checked (if it's null or array) which then results in calling
$this->getRecordHistoryStore()->addRecord($table, $id, $newRow);
with a wrong type (null) for $newRow.
This causes error like:
Argument 3 passed to TYPO3\CMS\Core\DataHandling\History\RecordHistoryStore::addRecord() must be of the type array, null given,
Updated by Tymoteusz Motylewski over 4 years ago
- Category set to DataHandler aka TCEmain
Updated by Georg Ringer over 4 years ago
- Subject changed from Datahanlder should check return value of checkStoredRecord to Datahandler should check return value of checkStoredRecord
Actions