-
-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Bug Report
Current Behavior
When executing the SwitchableControllerActionsPluginUpdater in TYPO3 v13, all FlexForm configuration in the field tt_content.pi_flexform gets removed.
Expected behavior/output
The configuration should stay intact to be able to first execute the SwitchableControllerActionsPluginUpdater and then the ListTypeToCTypeUpdate.
Environment
- TYPO3 version(s): 13.4.20
- cart_products version: 7.1.0
- Is your TYPO3 installation set up with Composer (Composer Mode): yes
Possible Solution
Only remove the switchableControllerActions from the FlexForm configuration but leave everything else as is. Let the one working on the project decide when to clean up the FlexForm configurations with the typo3 cleanup:flexforms command.
Additional context
The current solution does work in TYPO3 v12, but not in v13. This is because the function getAllowedSettingsFromFlexForm cannot find the FlexForm configuration, because the plugins are now defined as CTypes.