[TYPO3-core] RFC: Bug #6924: t3lib_div::readLLXMLfile does not use localized content anymore
Malte Jansen
mail at maltejansen.de
Wed Dec 12 11:15:13 CET 2007
Hi Oli,
+1 by testing it again...
But perhaps there should be in additional information to save some space
to removed the typo3conf/llxml/
Because on system which are running a while the folder gets really big,
if there all file generated new this folder gets bigger....
Cheers,
Malte
Oliver Hader schrieb:
> Hi again ;)
>
> I discussed with Dmitry to use md5 instead of shortMD5.
> There was also a check against the length of the filename to be lower
> than 60 bytes. This check was there since 2004 and maybe Kasper used
> Minix V3 filesystem at that time which had a maximum of 60 chars. This
> check was removed now.
>
> The new patch is attached to this post.
>
> olly
>
>
> 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