Bug #43068
closedMethod modifyDBRow (FrontendContentAdapterService)
100%
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.
Updated by Tomasz Grzemski about 12 years ago
The problem was discovered using Extbase/Fluid:
<f:cObject typoscriptObjectPath="lib.object" />
Updated by Gerrit Code Review about 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16546
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16546
Updated by Gerrit Code Review about 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16546
Updated by Gerrit Code Review about 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16546
Updated by Gerrit Code Review about 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16546
Updated by Marc Bastian Heinrichs about 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5a91057a73e3450396940bdfbfd9a156da995a96.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed