[TYPO3-core] RFC Bug #10050: Traversing back page records used in CONTENT object does not work on root page

Susanne Moog typo3 at susannemoog.de
Sun May 3 17:14:35 CEST 2009


Hi,

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).
> 

+1 by reading & testing.

Regards,

Susanne


-- 
Susanne Moog
NEUSTA GmbH - www.neusta.de


More information about the TYPO3-team-core mailing list