[BUGFIX] Extbase: Make transOrigDiffSourceField available in DataMap 54/42654/4
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 26 Aug 2015 15:20:23 +0000 (17:20 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 28 Aug 2015 12:22:43 +0000 (14:22 +0200)
commite6c42f87a78aa7530e9a63f8e4cfc2cab5054f3e
treefe5c5595af92b59d65f9df4a814908ab6f794cdf
parent2b2a323ad58359d04e455cd0b02e6e449979bb30
[BUGFIX] Extbase: Make transOrigDiffSourceField available in DataMap

The transOrigDiffSourceField needs to be available in the DataMap so
that the persistence layer can properly initialize that field when
inserting new objects into the database. This field is often set to
NOT NULL in the schema which leads to SQL errors when it's not included
in the records, for example with MySQL in strict mode.

Resolves: #69085
Releases: master
Change-Id: I021ac695ab495d3d7257dfae27bd596d49551ccf
Reviewed-on: http://review.typo3.org/42654
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMap.php
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php