[TYPO3-core] RFC: Bug #6924: t3lib_div::readLLXMLfile does not use localized content anymore

Malte Jansen mail at maltejansen.de
Wed Dec 12 11:05:47 CET 2007


Hi Oli,

I have 'reseted' my test-installation to the problem.
It's working fine.

+1 by testing

Cheers,

Malte


Oliver Hader schrieb:
> Hi,
> 
> I attached a new version that increases the "internal version" from 2.2
> to 2.3 in t3lib_div::readLLXMLfile. This generates a new hash an forces
> the recreation of the cached files for TYPO3 4.1.4 and Trunk users.
> 
> Please test this patch carefully and then I'm going to commit.
> 
> olly
> 
> 
> Oliver Hader schrieb:
>> This is a SVN patch request.
>>
>> Problem:
>> In bug 0006903 the localization of other languages (besides the
>> 'default' language) should be move to an external file to prevent
>> loading unused string data.
>> If this file generated by t3lib_div::llXmlAutoFileName doesn't exist,
>> the localized part is set to an empty array at the end of
>> t3lib_div::readLLXMLfile.
>>
>> Solution:
>> The solution is to check whether this external file exists.
>>
>> Comments:
>> This affects also the recent release of TYPO3 4.1.4. If extension
>> developers are going to update there locallang.xml files, the cached
>> file will be rewritten and then this bug occurs. If nobody changes his
>> locallang files, the cached data will be used.
>>
>> I suggest to release TYPO3 4.1.5 very soon before this issue breaks many
>> (non-english) sites.
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=6924
>>
>> Branch: TYPO3_4-1 & Trunk


More information about the TYPO3-team-core mailing list