Issue Bug Rejected

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

Tobi Kretschmann 10/13/16, 14:58 updated 11/10/16, 18:41

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']) !== ''

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.