Project

General

Profile

Actions

Bug #69282

closed

Mistake in FormEngine.php: hook getMainFields_preProcess cannot change databaseRow

Added by Federico Bernardin about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Must have
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-08-24
Due date:
% Done:

0%

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

Description

The hook getMainFields_preProcess in FormEngine was useful to change the database row. In all TYPO3 CMS version before 7.4 the hook could change the database row, from 7.4 the code line $this->databaseRow = $database is before the hook, so we cannot change it anymore inside the hook implementation.

To resolve this behavior you can move the code line $this->databaseRow = $databaseRow; after the hook call.

The method is getMainFields.

Actions

Also available in: Atom PDF