Issue Bug Closed

#73795Bug when switching a extbase plugin with flexforms "switchableControllerActions" to a plugin without flexform

Markus Hölzle 03/01/16, 10:51 updated 02/19/22, 10:45

Description

Hi there,

I found a bug in the TYPO3 core:
Way to reproduce the error
  1. Insert a extbase plugin, the news plugin for example, which uses the flexforms “switchableControllerActions” and save the record
  2. 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?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.