Issue Bug Closed

#69282Mistake in FormEngine.php: hook getMainFields_preProcess cannot change databaseRow

Federico Bernardin 08/24/15, 12:55 updated 10/29/15, 17:46

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.

Reviews 0

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