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

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Mar 24 00:02:17 CET 2010


Francois Suter schrieb am 23.03.2010 14:10:
> 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');

Ops, thanks for bringing that to my attention. Of course I applied a
"wrong patch" to the TYPO3 4.2 code. The check is not only failing
because of the missing requireOnce, but it is also being applied at the
wrong spot (that code changed in 4.3 a lot).

So attached is the follow-up to 4.2 to make it work there too. Please
re-check. Thanks and sorry for the mess-up.

Cheers
Ernesto
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13739-4_2-show-clickmenu-mp.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100324/37359694/attachment.asc>


More information about the TYPO3-team-core mailing list