Issue Bug Closed

#64914Cleaner scripts crashes due to incomplete flexform content

Jose Antonio Guerra 02/06/15, 19:05 updated 10/02/18, 11:46

Description

When the DS have more fields described than the actual FlexForm content the check crashes:

PHP error: Illegal string offset
Where: typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php, around line 230

The method \TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools::traverseFlexFormXMLData_recurse fails to check parameters before calling itself recursively therefore crashing the script.

This bug is related to #17237 and #18472 but in this case there’s no malformed XML triggering the failure.

Reviews 2