[TYPO3-core] RFC #13739: "Show" clickmenu in page tree does not work for mount pages

Francois Suter fsu-lists at cobweb.ch
Tue Mar 23 14:10:49 CET 2010


Hi,

> - TYPO3_4-2 (rev. 7127, will be in 4.2.13)

This introduced a bug in 4.2, due to the following line:

$sys_page = t3lib_div::makeInstance('t3lib_pageSelect');

t3lib_div::makeInstance() tries to load the required file smartly, but 
since we have a naming inconsistency it fails (the file is called 
"class.t3lib_page.php" and not "class.t3lib_pageselect.php").

The solution is to explicitly include the file before the above call:

t3lib_div::requireOnce(PATH_t3lib . 'class.t3lib_page.php');

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list