Kategorien
Internet

Problem with ->deleteAction() in TYPO3 Extension Builder

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

1 Antwort auf „Problem with ->deleteAction() in TYPO3 Extension Builder“

Excellent blog you’ve got here.. It’s difficult to find high-quality writing like
yours nowadays. I really appreciate individuals like you! Take care!!

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.