Bug when switching a extbase plugin with flexforms "switchableControllerActions" to a plugin without flexform
Hi there,I found a bug in the TYPO3 core:
Way to reproduce the error
- Insert a extbase plugin, the news plugin for example, which uses the flexforms "switchableControllerActions" and save the record
- Switch the value in the TYPO3 Backend "Selected plugin" to a extbase plugin without a flexform
No you will see an error message.
#1316104317: The default controller for extension "YourExtensionName" and plugin "YourPluginName" can not be determined. Please check for TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin() in your ext_localconf.php
The reason is, that the function "\TYPO3\CMS\Extbase\Configuration\FrontendConfigurationManager::getContextSpecificFrameworkConfiguration" will always call the method "overrideConfigurationFromFlexForm".
The clean way to solve this issue will be remove all context from the database field "tt_content.pi_flexform" if you change the value of the field "tt_content.list_type".
What do you think about this solution?