[TASK] Unify NULL default value handling 08/26408/9
authorAlexander Stehlik <alexander.stehlik@googlemail.com>
Mon, 13 Jan 2014 10:20:06 +0000 (11:20 +0100)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Tue, 18 Mar 2014 23:41:03 +0000 (00:41 +0100)
commit6695eddf42ed2ddf5ba5cfefcaaca94616bf52d1
tree4a8f9f909ec9e12e3af69e7f07abc0cf9de1c4c6
parentb255afc2c9181d26f11d536b66a52d763e2f1286
[TASK] Unify NULL default value handling

If a field is configured to allow NULL values ("eval" is set to "null")
and the default value in the TCA is explicitly set to NULL the value
will not be converted to a string.

Additionally the mode setting "useOrOverridePlaceholder" will not have
any influence any more on the default value when creating new records.

Resolves: #54412
Releases: 6.2
Documentation: #56584
Change-Id: Ica43a1af33e6f86dd042b66781acc0e9cd904cf9
Reviewed-on: https://review.typo3.org/26408
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Hader
Reviewed-by: Ernesto Baschny
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
typo3/sysext/backend/Classes/Form/DataPreprocessor.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/core/Configuration/TCA/sys_file_reference.php