[BUGFIX] FAL: Initialize all NOT NULL fields for new metadata records 29/42629/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 14 Aug 2015 16:09:55 +0000 (18:09 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Sun, 16 Aug 2015 19:25:09 +0000 (21:25 +0200)
commit79cbd3094ce91af971a932014b6ef8aea5217939
treea8fbedd17b61e906d5c7403cb1e32e8ff2adaac4
parent5f8d7db15dd76167cc967e9b4203e9b5c150da6e
[BUGFIX] FAL: Initialize all NOT NULL fields for new metadata records

The columns l10n_diffsource is defined as NOT NULL in the database
schema. When a new record is being created through the method
createMetaDataRecord() this field is not being set, causing errors when
running in MySQL strict mode.

Resolves: #69071
Releases: master
Change-Id: Ie0465abc90c9855c84c8c9bb1c59909316c8dc2e
Reviewed-on: http://review.typo3.org/42629
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php