[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
Tue May 5 22:30:28 CEST 2009
FYI: Committed to SVN Trunk (rev. 5389)
olly
Oliver Hader schrieb:
> 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
More information about the TYPO3-team-core
mailing list