[TYPO3-core] RFC: Bug #9335: Internal caching in t3lib_pageSelect::getRootLine() has no effect

Oliver Hader oliver at typo3.org
Fri Sep 12 11:00:27 CEST 2008


This is a SVN patch request.

Problem:
The internal caching in t3lib_pageSelect::getRootLine() has no effect 
since the key to store the information ($uid) will always be "0" since 
the rootline is fetched from the current page up to the root page. 
Unfortunately the $uid gets overridden by the uid of the parent page in 
each step of the iteration.

Solution:
Use the original uid that was given as parament when getRootLine() got 
called as array key.

Comments:
Thanks to Peter Kühn for pointing this out and telling me in a Skype 
session!

Bugtracker references:
http://bugs.typo3.org/view.php?id=9335

Branches: TYPO3_4-2, Trunk


olly
-- 
Oliver Hader
TYPO3 4.3 Release Manager
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009335.patch
Type: text/x-diff
Size: 1763 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080912/a9d1a79a/attachment.patch 


More information about the TYPO3-team-core mailing list