Project

General

Profile

Actions

Bug #24907

closed

cObj->FORM() wasn't processing the $formData parameter

Added by Florian over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2011-01-31
Due date:
% Done:

0%

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

Description

$formData is not forwarded to tslib_content_Content->render($conf, $formData) in class.tslib_content.php on line 1107.

For bugfix see Additional Informations.

/** * Rendering the cObject, FORM * * @param array array of TypoScript properties * @param array Alternative formdata overriding whatever comes from TypoScript * @return string Output
*/
function FORM {
// geƤndert am 31.01.2011 Parameter $formData added at call of function "render"
// return $this->getContentObject('FORM')->render($conf);

return $this->getContentObject('FORM')->render($conf, $formData);
}

(issue imported from #M17422)


Files

bug_0017422.patch (552 Bytes) bug_0017422.patch Administrator Admin, 2011-02-15 17:31
17422_v2.diff (616 Bytes) 17422_v2.diff Administrator Admin, 2011-02-16 20:14
T3X_user_formdatatest-0_0_0-z-201102162129.t3x (5.79 KB) T3X_user_formdatatest-0_0_0-z-201102162129.t3x Administrator Admin, 2011-02-16 21:30
Actions #1

Updated by Administrator Admin about 13 years ago

bug is fixed (seeattached file above)

Actions #2

Updated by Steffen Gebert about 13 years ago

Florian, can you try the attached patch?

Actions #3

Updated by Ernesto Baschny about 13 years ago

Committed to

- trunk, rev 10472
- TYPO3 4.5 (for 4.5.1), rev 10473

Thanks!

Actions

Also available in: Atom PDF