[TYPO3-core] 0016994: ExtDirect in frontend generates php warnings

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Jan 21 11:11:40 CET 2011


Stefan Galinski schrieb am 21.01.2011 02:27:
> Hi,
> 
> This is an SVN patch request
> 
> Type: Bugfix (No-Brainer)
> 
> Bugtracker reference: http://bugs.typo3.org/view.php?id=16994
> 
> Branches: trunk
> 
> In class.tslib_extdirecteid.php the language object is instantiated without 
> a language key, and as a result the error log gets filled with messages like 
> this one:
> 
> Core: Error handler (FE): PHP Warning: Missing argument 1 for 
> language::init(), called in 
> /var/www/typo3_src/typo3_src-4.5.svn/typo3/sysext/cms/tslib/class.tslib_extdirecteid.php 
> on line 51 and defined in 
> /var/www/typo3_src/typo3_src-4.5.svn/typo3/sysext/lang/lang.php line 130

Shouldn't the caller be able to provide a way to pass a language to the
ExtDirect router? Or how would you handle translations of labels / error
messages in that environment?

Cheers,
Ernesto



More information about the TYPO3-team-core mailing list