Bug #97216
Updated by Oliver Hader over 2 years ago
Having the following TCA configuration for a time field, allows to persist data via @DataHandler@, but then resets the value @00:00:00@ to @null@ in @FormEngine@. !97216_view.png! <pre> 'end_time' => [ 'exclude' => true, 'label' => 'LLL:EXT:site/Resources/Private/Language/locallang_db.xlf:tx_site_domain_model_eventperformance.end_time', 'config' => [ 'dbType' => 'time', 'type' => 'input', 'renderType' => 'inputDateTime', 'size' => 12, 'eval' => 'time,required', 'default' => null, ], ], </pre> @\TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDateTimeFields::addData@ * @$result['databaseRow'][$column] = '00:00:00'@ * @$dateTimeFormats[$columnConfig['config']['dbType']]['empty'] = '00:00:00'@ * resetting value to @null@, since the given (correct) value is considered "to be empty" !97216_formengine.png!