[BUGFIX] Wrong position for beforeCallActionMethod
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Mvc / Controller / ActionController.php
index 10bb56a..e7da4e5 100644 (file)
@@ -274,6 +274,7 @@ class ActionController extends \TYPO3\CMS\Extbase\Mvc\Controller\AbstractControl
                        }
                        $validationResult = $this->arguments->getValidationResults();
                        if (!$validationResult->hasErrors()) {
+                               $this->signalSlotDispatcher->dispatch(__CLASS__, 'beforeCallActionMethod', array('controllerName' => get_class($this), 'actionMethodName' => $this->actionMethodName, 'preparedArguments' => $preparedArguments));
                                $actionResult = call_user_func_array(array($this, $this->actionMethodName), $preparedArguments);
                        } else {
                                $methodTagsValues = $this->reflectionService->getMethodTagsValues(get_class($this), $this->actionMethodName);