[TYPO3-bugs] #434: class.tslib_content.php function getUpdateJS produce JS error messages

Franz Holzinger franz at fholzinger.com
Wed Sep 26 20:29:17 CEST 2007


Martin Kutschker a écrit :

>> I have found a very strange behaviour:
>>
>> function getUpdateJS($dataArray, $formName, $arrPrefix, $fieldList)    {
>>         $JSPart='';
>>         $updateValues=t3lib_div::trimExplode(',',$fieldList);
>> $tmp = $updateValues;
>>
>> If I do not use the dummy line with $tmp, then the $updateValues is
>> empty and no field values are shown in sr_feuser_register.
>> This is with PHP Version 5.2.1. I have no explanation for this.
> 
> Looks like a PHP memory bug to me.

I can reproduce this bug on several TYPO3 installations. If you do not
add this $tmp, then in sr_feuser_register it will always loose the
password (shown as *****) after a reload of the page. And sometimes all
fields will be empty even if a user has been logged in. This depends on
the steps being done before.

- Franz





More information about the TYPO3-team-bugs mailing list