Actions
Bug #92306
closedField with dbType = 'time' and eval 'time' not saved correctly to the database
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
Start date:
2020-09-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When using native timefield in database and input with eval 'time', the entered value is not correctly saved in the database. When showing the form again, that wrong value from the database is shown.
When the field is changed, the new value is internally stored as an integer in the backend interface. When submitted it is then used as date string, when converting the field value to a timestamp, which leads to a wrong datetime.
To reproduce configure a field as follows:- database field is set to
time
- field TCA type set to
input
- field TCA dbType set to
time
- field TCA eval set to
time
This behaviour is present in v9, v10 and master.
Actions