[FEATURE] Add checkFlexFormValue hook in DataHandler 29/21929/3
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Fri, 5 Jul 2013 13:05:58 +0000 (15:05 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 5 Jul 2013 14:37:01 +0000 (16:37 +0200)
commit202b4b7a29642b113a6d1d2739c1b796d4a8174f
treeb26b6770424836d8701f75b8180b9b05d81c7b36
parentafa7b7f65a9c027fed5222340e9232c127c7360b
[FEATURE] Add checkFlexFormValue hook in DataHandler

Currently there is a problem with updating flexform values
right as there is no check if an existing value in the db
has actually been deleted.

This e.g. is a problem when it comes to saving switchable
controller actions (Extbase) in the flexform. Old actions
that may not be present any longer have to be removed
manually.

As there is currently no overall solution to this issue
there should at least be a hook to adjust the old flexform
data right before it is merged with the new one.

Releases: 6.2
Resolves: #49699
Change-Id: Ic93ffd7782b4d049070c6bd9ab760a01008242d6
Reviewed-on: https://review.typo3.org/21929
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php