Project

General

Profile

Actions

Bug #19762

closed

Traversing back page records used in CONTENT object does not work on root page

Added by Oliver Hader about 15 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2009-01-03
Due date:
% Done:

0%

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

Description

The TypoScript object CONTENT allows to traverse back the rootline until something valid was found with the following:
10 = CONTENT
10 {
table = pages
select.where = media!=''
slide = -1
}
This would select any page that has the media field filled.

However, this does not work if the record that is expected to be fetched is on the root page and thus has the pid 0.

(issue imported from #M10050)


Files

00010050.patch (2.29 KB) 00010050.patch Administrator Admin, 2009-01-03 18:22

Related issues 4 (0 open4 closed)

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

Actions
Related to TYPO3 Core - Bug #21217: Sitemap: Recently updated pages brokenClosedSteffen Kamper2009-10-09

Actions
Related to TYPO3 Core - Bug #21358: Content Element Sitemap renders emptyClosedSteffen Kamper2009-10-26

Actions
Related to TYPO3 Core - Bug #31209: CONTENT still can't select records from rootpageClosed2011-10-24

Actions
Actions #1

Updated by Oliver Hader about 15 years ago

Forgot to mention another flaw:
Using select.pidInList for this approach on the table pages does not make sense at all. Especially and only for pages, uidInList should be used...

Actions #2

Updated by Oliver Hader almost 15 years ago

Committed to SVN Trunk (rev. 5389)

Actions #3

Updated by Oliver Hader over 14 years ago

Reverted this bugfix in SVN Trunk (rev. 6146)

Actions

Also available in: Atom PDF