[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)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 30 Mar 2013 13:52:02 +0000 (14:52 +0100)
commit80afd63e7843fd832c467be00501ac5cfe0ac226
tree236d8be618a7e3d6b128344689b946c19c5dd133
parentef311818242866ceb866a0491586d12fb3fbfa80
[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: I214c857bcb8b0380554b481870ab5f3556713226
Fixes: #46193
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19009
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
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