Project

General

Profile

Actions

Bug #31572

closed

TypoScript FORM-Object produces Exception

Added by Andreas Bouche over 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2011-11-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #50274: Problem with Form extension and standard searchClosed2013-07-22

Actions
Follows TYPO3 Core - Bug #31120: Add default csc-mailform DIV wrapClosed2011-10-19

Actions
Actions

Also available in: Atom PDF