[BUGFIX] Undefined switchable controller actions must be removed 30/22030/5
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Sat, 6 Jul 2013 15:39:05 +0000 (17:39 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 17 Jul 2013 11:36:20 +0000 (13:36 +0200)
commit48be74629375a711b8c1dfb5b5f63fca297cbaeb
tree67907ce6c849a8de42e6739e5c203c4ebbf9ca19
parent838a4e7d3a89e71f84012497be9648e081a3f131
[BUGFIX] Undefined switchable controller actions must be removed

Currently there is no check if switchable controller actions in
pi_flexform are still present in the configuration flexform. So,
when removing the flexforms in the configuration file, the
switchable controller actions section is not deleted in pi_flexform.

This change removes all occurences in the present pi_flexform, so
if no switchable controller actions are defined any longer, they
will be removed, else they are overwritten by the current flexform
data.

Releases: 6.2
Resolves: #31198
Change-Id: I6046b29dbf436d8c970593dbc6fd2c216f222c52
Reviewed-on: https://review.typo3.org/22030
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Hook/DataHandler/CheckFlexFormValue.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Hook/DataHandler/CheckFlexFormValueTest.php [new file with mode: 0644]
typo3/sysext/extbase/ext_tables.php