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

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Mar 25 08:28:07 CET 2010


Hi,

"REMINDER": could please anyone give a short review and test on my
follow-up to the 4.2 patch? Currently the click-menu is broken without
this fix! Thanks!

Cheers,
Ernesto

Ernesto Baschny [cron IT] schrieb am 24.03.2010 00:02:
> 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
> 


More information about the TYPO3-team-core mailing list