When creating a new extension using the Extension Builder an displaying the generated frontend plugin the following error occurs:
An error occurred while trying to call Tx_MyExtensionName_Controller_MyPluginNameController->deleteAction(). Error: Required property ‚myfieldname‘ does not exist.
The problem seems to be, that the frontend plugin calls the actions by default in the order like written in the file ext_localconf.php:
Tx_Extbase_Utility_Extension::configurePlugin( $_EXTKEY, 'Fe', array( 'MyPluginName' => 'delete, edit, update, list, new, create, show', ), …
The solution is to change the order:
'MyPluginName' => 'list, new, create, show, edit, update, delete',
- TYPO3 Ver. 4.6.3
- Extension Builder (extension_builder) Version: 2.1.0