Issue Bug Closed

#31572TypoScript FORM-Object produces Exception

Andreas Bouche 11/04/11, 10:22 updated 10/02/18, 12:19

Description

After the fix of issue #31120 tx_form_Controller_Form throws an Exception when rendered via TypoScript:

Catchable Fatal Error: Argument 2 passed to tx_form_Controller_Form::cObjGetSingleExt() must be an array, null given, called in [..]typo3/sysext/cms/tslib/class.tslib_content.php on line 594 and defined in […]typo3/sysext/form/Classes/Controller/Form.php line 102

When invoked via TS, the Variable $mergedTypoScript is NULL and thus the internal Rendering of COBJ_ARRAY fails (Form.php, line 129)

My solution for this was to simply use $typoScript instead of $mergedTyposcript when $mergedTyposcript is NULL. A Patchset with my fix will be submitted shortly.

Reviews 0

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