[TYPO3-core] RFC #14856: Bug: Change language::readLLfile() from protected to public

Steffen Ritter info at rs-websystems.de
Fri Jun 25 07:11:39 CEST 2010


Am 24.06.2010 17:53, schrieb Gregor Hermens:
> Hi,
>
> This is an SVN patch request.
>
> Type: Bug
>
> Bugtracker references: http://bugs.typo3.org/view.php?id=14856
>
> Branches: 4.4&  trunk
>
> Problem:
> $LANG->readLLfile() is called from [ext]/piX/class.tx_[ext]_piX_wizicon.php
> as generated by the kickstarter. If this function is not public insertion of
> a new CE in backend fails, ie:
>
> Fatal error: Call to protected method language::readLLfile() from context
> 'tx_ghrandomcontent_pi1_wizicon' in
> [...]/typo3conf/ext/gh_randomcontent/pi1/class.tx_ghrandomcontent_pi1_wizicon.php
> on line 37
>
> See http://forge.typo3.org/issues/8488
>
> Solution:
> Declare language::readLLfile() as public
>
> Cheers,
> Gregor
-1 for the mentioned reasons

core should not adapt to be compatible to extensions... there are many 
points in 4.4 which need adaptions in extensions. That is OK for major 
releases...


More information about the TYPO3-team-core mailing list