[TYPO3-templavoila] Migration from TV 0.4.0 to TV 1.0.1
Olivier Schopfer
ops at wcc-coe.org
Thu Apr 20 12:00:10 CEST 2006
Hi Friends,
I found out that the same patch should not only be applied on
class.t3lib_tceforms.html but also on class.t3lib_flexformtools.php
Correct the code as follows, starting at line 132:
$editData = t3lib_div::xml2array($xmlData);
if (!is_array($editData)) {
return 'Parsing error: '.$editData;
}
// **OS 20.04.2006 Added the three next lines
else if (isset($editData['meta']) &&
!is_array($editData['meta'])) {
$editData['meta'] = array();
}
It seems that it then works better.
I don't know how to propose the change in the bug tracker. Could someone
don that?
Best greetings.
Olivier Schopfer
World Council of Churches
Raphael GEYER wrote:
> ?
>
> I already applied this patch, but all errors have not been corrected I had
> to change content elements by hand.
>
> Regards,
>
> Raphael GEYER
> http://www.ameos.com
>
>
> "Dmitry Dulepov" <typo3 at fm-world.ru> a ecrit dans le message de news:
> mailman.1.1144750604.13396.typo3-project-templavoila at lists.netfielders.de...
>
>>Hi!
>>
>>Raphael GEYER wrote:
>>
>>>Thanks for the link, it helps but doesn't correct everything.
>>>In content elements which only have
>>><meta>
>>></meta>
>>>
>>>It produces :
>>>
>>>Warning: array_unique(): The argument should be an array in
>>>/www/typo3_src-4.0/t3lib/class.t3lib_flexformtools.php on line 150
>>
>>Patch for typo3 core is here: http://bugs.typo3.org/view.php?id=3196
>>
>>Dmitry.
>>--
>>"It is our choices, that show what we truly are,
>>far more than our abilities." (A.P.W.B.D.)
>
>
>
More information about the TYPO3-project-templavoila
mailing list