Issue Bug Closed

#16071BE crashes when updating multilingual pages created with TemplaVoila on Typo3 3.8.1

Schopfer Olivier 04/20/06, 14:10 updated 02/27/09, 17:16

Description

This refers to the already patched bug 3196.

Even with the patch, the BE still crashes when updating multilingual pages created with TemplaVoila on Typo3 3.8.1

I found out that the same patch should not only be applied on class.t3lib_tceforms.html but also on class.t3lib_flexformtools.php

The code could be corrected 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.

(issue imported from #M3305)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.