[BUGFIX] Convert date objects to string in SaveToDatabase finisher 05/57205/6
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Tue, 12 Jun 2018 16:57:56 +0000 (18:57 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 6 Jul 2018 17:41:30 +0000 (19:41 +0200)
commit6134369f5d2a8b0a8787e1125d7aff947c07da6f
tree282127865d1081f45fd7621d3eac2d9120f99be1
parenta2a3b699d2badd2f44542f6111143ba8b286d097
[BUGFIX] Convert date objects to string in SaveToDatabase finisher

The SaveToDatabase now converts DateTime(Immutable) objects to strings
to make it possible to save values from "Date" or "DatePicker" form elements
into the database.

Resolves: #85246
Releases: master, 8.7
Change-Id: I1533252d462d08bf7b743884d4e8e5fab12f6423
Reviewed-on: https://review.typo3.org/57205
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Lidia Demin <typecat@gmx.net>
Reviewed-by: Riny van Tiggelen <info@online-gamer.nl>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/form/Classes/Domain/Finishers/SaveToDatabaseFinisher.php
typo3/sysext/form/Documentation/ApiReference/Index.rst
typo3/sysext/form/Documentation/Config/proto/finishersDefinition/finishers/SaveToDatabase.rst
typo3/sysext/form/Tests/Unit/Domain/Finishers/SaveToDatabaseFinisherTest.php