Actions
Bug #19762
closedTraversing back page records used in CONTENT object does not work on root page
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
Updated by Oliver Hader almost 16 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...
Updated by Oliver Hader about 15 years ago
Reverted this bugfix in SVN Trunk (rev. 6146)
Actions