Project

General

Profile

Actions

Bug #31209

closed

CONTENT still can't select records from rootpage

Added by Joh. Feustel over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2011-10-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The Problem described in #20412 still exists.
"If you use the "CONTENT" TypoScript object, to retrieve records from the root-page - like "static_countries", etc. This is currently not possible."
The following code will return nothing since checkPidArray() checks for existing pages and removes 0 from pidInList

10 = CONTENT
10 {
    table = static_countries
    select {
        pidInList = 0
        selectFields = uid, cn_iso_3, cn_official_name_en
    }
    renderObj= TEXT
    renderObj {
        wrap = <li>|</li>
        field = cn_official_name_en
    }
}

Obviously there as been a Fix for this Problem which has been reverted in SVN Trunk (rev. 6146) see http://forge.typo3.org/issues/19762#note-3


Related issues 6 (0 open6 closed)

Related to TYPO3 Core - Bug #20412: CONTENT can't select records from rootpageClosedBenni Mack2009-05-09

Actions
Related to TYPO3 Core - Bug #19762: Traversing back page records used in CONTENT object does not work on root pageClosedOliver Hader2009-01-03

Actions
Related to TYPO3 Core - Bug #32374: MENU special = updated not working in 4.6ClosedXavier Perseguers2011-12-07

Actions
Related to TYPO3 Core - Task #57168: Enable queries using "root" and "-1" for pidInListClosedOliver Hader2014-03-21

Actions
Has duplicate TYPO3 Core - Bug #32212: select.pidInList = 0 won't select records with pid = 0Closed2011-11-30

Actions
Has duplicate TYPO3 Core - Bug #33220: Empty content object when select.pidInList=0 set in TSClosed2012-01-16

Actions
Actions

Also available in: Atom PDF