[TASK] FormEngine: Simplify placeholder and NULL handling 65/39365/8
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 8 May 2015 13:26:26 +0000 (15:26 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 8 May 2015 22:23:28 +0000 (00:23 +0200)
commit0d6765bd6b67b5b6c4f431ea0c67771c37dbe97b
treea4060a30d7c87197b690f0910babdc9ab4739c74
parent217954659043ff6ed48a2d5f2e1f6c3207cb9b21
[TASK] FormEngine: Simplify placeholder and NULL handling

FormEngine / DataHandler have logic to distinguish between NULL and
empty strings as values written to the database. This is especially
used for FAL in inline relation together with the placeholder logic.
The patch moves the code around a bit, disentangles the logic and
adds comments to explain the details. The $globalOptions value
parameter "prependFormFieldNamesActive" becomes obsolete along the
way and is dropped.

Change-Id: I854a5733f9b597a28751ed31217858b223441247
Resolves: #66856
Releases: master
Reviewed-on: http://review.typo3.org/39365
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Container/PaletteAndSingleContainer.php
typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php
typo3/sysext/backend/Classes/Form/FormEngine.php