[BUGFIX] Properly set default values in MigrationWizard for CType 'table' 35/48835/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Wed, 6 Jul 2016 21:37:13 +0000 (23:37 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 7 Jul 2016 18:51:07 +0000 (20:51 +0200)
commit1fa81984a3245c15a74190d7e234d60ff3aebbff
treeb53ccf34e0d1d62c11d6afcb739bb28aeea050ab
parentd95572a2089d16993c0d438f34ea69e1dd3f662b
[BUGFIX] Properly set default values in MigrationWizard for CType 'table'

Cast the flexform value to string type before performing a type safe
comparison to avoid null values not being replaced by the default value
for the field.

Change-Id: Ibca3b2cf4a1e9b7871c549db980f8233d8b8a75b
Resolves: #76966
Releases: master
Reviewed-on: https://review.typo3.org/48835
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/install/Classes/Updates/TableFlexFormToTtContentFieldsUpdate.php