Actions
Bug #18472
closedCleaner scripts crash with errors due to malformed flexform content
Start date:
2008-03-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
cleaner_check.sh, cleaner_fix.sh and the BE function "Update reference index" (subfunctions test and update) crash with error "Cannot use string offset as an array in class.t3lib_flexformtools.php" on lines 223 and 266.
The problem disappears if "lowlevel_cleaner cleanflexform" fixes the flexform contents. (I have not tested if cleanflexform runs without the patch on class.t3lib_flexformtools.php).
However, the best solution is to add two additional checks to class.t3lib_flexformtools.php that assure that arrays are existing before its elements are accessed (see attached diff).
(issue imported from #M7894)
Files
Updated by Christian Kuhn over 15 years ago
Updated by Francois Suter about 13 years ago
- Status changed from Resolved to Closed
- Target version deleted (
0)
Actions