[TYPO3-bugs] #434: class.tslib_content.php function getUpdateJS produce JS error messages
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Wed Sep 26 17:22:35 CEST 2007
Franz Holzinger schrieb:
> There is still a bug for the getUpdateJS function which causes some
> browsers not to show the field values:
>
> http://bugs.typo3.org/view.php?id=434
>
> This is because a wrong JavaScript gets produced. The finalizing ';' is
> missing after the updateForm function call.
Odd and shouldn't happen, but adding a semi colon won't hurt.
> 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.
Masi
More information about the TYPO3-team-bugs
mailing list