Project

General

Profile

Actions

Bug #78281

closed

typoscript pidInList = 0 results in Database Query with uid=0

Added by Tobi Kretschmann about 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-10-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Using the DatabaseQueryProcessor with pidInList = 0 results in a query with "tablename.uid = 0" in the where clause.

dataProcessing {
    10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
    10 {
        table = tablename
        pidInList = 0
        [...]
    }
}

shouldn't getQueryConstraints() in TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer:7763 perform a typecheck on $conf['pidInList']

trim($conf['pidInList']) !== ''

Actions

Also available in: Atom PDF