[TYPO3-core] FYI24: #14128: Tree list cache does not recognize 'this' for 'pidInList'

Dmitry Dulepov dmitry.dulepov at gmail.com
Thu Apr 15 15:56:30 CEST 2010


Hi!

This is SVN patch request.

Type: bug, trivial

Branches: trunk, 4.3, 4.2

BT reference: http://bugs.typo3.org/view.php?id=14128

Problem: 'select' TypoScript function allows 'this' keyword to indicate the
current page. tslib_cObj::getTreeList() expects only integer parameters and
cannot work with 'this'. Thus nothing will be cached when using 'this' in
'pidInList'.

Solution: substitute 'this' with the current page id before passing it to
the getTrteeList().

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 security team member
Read more @ http://dmitry-dulepov.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14128.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100415/1f0e148d/attachment-0001.txt>


More information about the TYPO3-team-core mailing list