#43068Method modifyDBRow (FrontendContentAdapterService)
Description
The method doesn’t check if a row is an array, so if $row is empty this method always creates an array and adds $row[‘_MIGRATED’] element.
When using TypoScipt to get some data from TEXT object there is a check if $fieldArray is an array. So this condition will be always false:
ContentObjectRender.php
public function getData($string, $fieldArray) {
global $TYPO3_CONF_VARS;
if (!is_array($fieldArray)) {
$fieldArray = $GLOBALS['TSFE']->page;
}
We should check in modifyDBRow method if a data argument is an array.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.