Project

General

Profile

Actions

Bug #43068

closed

Method modifyDBRow (FrontendContentAdapterService)

Added by Tomasz Grzemski over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
Start date:
2012-11-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #42244: ContentAdapter processes same record multiple timesClosedSteffen Ritter2012-10-21

Actions
Actions

Also available in: Atom PDF