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 #1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New 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/50580

Actions #2

Updated by Oliver Hader about 8 years ago

  • Status changed from Under Review to Rejected
pidInList = root
is available to solve this. Thus, I'm closing this issue
Actions

Also available in: Atom PDF