[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
Wed Oct 14 15:59:00 CEST 2009


FYI: Reverted this bugfix in SVN Trunk (rev. 6146)

There have been negative side-effects working with pages (e.g. sitemap
with recently updated pages) since old functionalities used pidInList=0
which is wrong in general but was not evaluated in content rendering for
ages.

olly


Oliver Hader schrieb:
> 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