[BUGFIX] Native DateTime values cannot be mapped from storage
authorOliver Hader <oliver@typo3.org>
Mon, 11 Mar 2013 23:20:19 +0000 (00:20 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Sat, 30 Mar 2013 20:16:20 +0000 (21:16 +0100)
commite28ce932cf68139c4407acff5b0944f0e40d2ebb
treebd42df31fd2a11dc20bbd4b46d762105db2e4909
parentf2eeb80c19cddd6e2ab552554769803e9d29ad87
[BUGFIX] Native DateTime values cannot be mapped from storage

DateTime values that are stored with an accordant (native) type
cannot be mapped correctly since a unix timestamp is expected.
The TCA configuration property 'dbType' for 'date' and
'datetime' fields reflects the non-timestamp way.

Change-Id: Ie694cf020a08ad91cc14982943b26705e5b128a9
Fixes: #46193
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19450
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Steffen Ritter
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/ColumnMap.php
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapFactoryTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php