[BUGFIX] Only check 'CType' when removing items from NewContentElementWizard 97/48497/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 20 May 2016 15:28:55 +0000 (17:28 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 8 Jun 2016 07:31:09 +0000 (09:31 +0200)
commit8d6fc73ad929d6aeee5d58f5e5d4ff7e2496c741
treea014b4935c29c49e3775c71c6254881db478894c
parent613e88571ffabbee30744760802723f977076446
[BUGFIX] Only check 'CType' when removing items from NewContentElementWizard

Fix the behavior of keepItems in the NewContentElementWizard to only
remove invalid items based on the CType key. Without this patch any
invalid value in tt_content_defValues would result in the content
element being invisible in the wizard.

Change-Id: Iee4d13ff05088b9c71a9a8fb1d258766e97dcf75
Resolves: #76242
Related: #61114
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/48497
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php