[TYPO3-core] RFC Bug #10050: Traversing back page records used in CONTENT object does not work on root page
Oliver Hader
oliver at typo3.org
Sun May 3 01:04:31 CEST 2009
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=10050
Branch: Trunk
Problem:
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.
Solution:
For the special case of pages, it must be allowed to select pages that
have a pid set to 0 (a page directly below the root).
olly
--
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0010050.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090503/1d22fd24/attachment.txt
More information about the TYPO3-team-core
mailing list