[TYPO3-core] RFC: Bug #12669: Fatal error: Call to a member function getSystemLanguages()
Francois Suter
fsu-lists at cobweb.ch
Mon Nov 23 15:34:28 CET 2009
Hi,
>> this can happen if you have another class that extends recordlist and
>> use own constructor without calling parent::__constructor. So this
>> isn't safe, olly's solution is the safe one for all existing extensions.
>>
>
> ... and constructor in recordlist is new, that's the complete story.
> We can think about adding empty constructors to all classes so any
> extended class should call the parent constructor.
Ah yes, of course, that makes perfect sense now. I hadn't thought of
that scenario.
Thanks
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-team-core
mailing list