#58300Flexform switchableControllerActions of other plugins causes errors
Description
When you create a content element of CType “list” (which is a plugin) and change the list_type to an extension, which has “switchableControllerActions” configured in flexforms (eg. news), and then you change the plugin to an extension which has not, in frontend the error
#1316104317: The default controller for extension "Extension" and plugin "Pi1" can not be determined.will appear, because this “switchableControllerActions” from news extension is still in the pi_flexform field of content element. And of course my extension has no “NewsController”.
You can probably imagine, that this took me a while to figure out.
Maybe you could reset the option “switchableControllerActions” when list_type changes, that would prevent this issue.
I’ve tested it in TYPO3 4.7 but I guess this issue is still existing.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.