Project

General

Profile

Actions

Bug #64914

closed

Cleaner scripts crashes due to incomplete flexform content

Added by Jose Antonio Guerra about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2015-02-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

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.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #17237: Fatal error: Cannot use string offset as an array in C:\xampp\htdocs\dev\TYPO\dummy\t3lib\class.t3lib_flexformtools.php on lineClosedFrancois Suter2007-04-24

Actions
Related to TYPO3 Core - Bug #18472: Cleaner scripts crash with errors due to malformed flexform contentClosedChristian Kuhn2008-03-18

Actions
Related to TYPO3 Core - Bug #68160: Warning in FlexFormTools.php since typo 6.2.10Closed2015-07-15

Actions
Actions

Also available in: Atom PDF