[TYPO3-core] RFC: Bug #9335: Internal caching in t3lib_pageSelect::getRootLine() has no effect
Oliver Hader
oliver at typo3.org
Sun Sep 28 22:09:48 CEST 2008
FYI: Committed to SVN:
* TYPO3_4-2 (rev. 4258)
* Trunk (rev. 4259)
olly
Oliver Hader schrieb:
> 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 Release Manager 4.3
More information about the TYPO3-team-core
mailing list