Bug #72817

Missing select property in CONTENT object results in PHP-Error

Added by Stefan Froemken over 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
Start date:
2016-01-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

Hello,

we have following TypoScript:

10 = CONTENT
10 {
    table = pages        
    renderObj = TEXT
    renderObj {
        field = title
        wrap = <li>|</li>
    }
}

public function getRecords($tableName, array $queryConfiguration)

expects the second parameter as array, but as long as $conf['select.'] is empty it will fail with a PHP Error.

Stefan

#1

Updated by Stefan Froemken over 5 years ago

  • Status changed from New to Accepted
  • Assignee set to Stefan Froemken
  • Complexity set to no-brainer
#2

Updated by Gerrit Code Review over 5 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46099

#3

Updated by Gerrit Code Review over 5 years ago

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/46099

#4

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/46099

#5

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46328

#6

Updated by Stefan Froemken over 5 years ago

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

Updated by Riccardo De Contardi over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF