[BUGFIX] Create only minimum TCA when adding new palettes 42/40042/2
authorMarkus Klein <markus.klein@typo3.org>
Sat, 6 Jun 2015 12:20:32 +0000 (14:20 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Tue, 9 Jun 2015 14:11:41 +0000 (16:11 +0200)
commit86bf69bc71ba589ebdcdda504d636b6dd14cb167
tree3e9b75f1115b1797a24e1f580a41ea2cf0eb3b81
parentad994b94086b37242f705e2a8043603d4553b5e8
[BUGFIX] Create only minimum TCA when adding new palettes

When adding a new palette to TCA the types::showitem part is modified.
This patch ensures that no empty values are set to the field definitions
as this would trigger the TCA Migrator.

Resolves: #67327
Releases: master
Change-Id: I30cb6a7d6f325705528d1f3c2961e2620068f057
Reviewed-on: http://review.typo3.org/40042
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php