Commit 6f454735 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Better deprecation log in extbase controller action

When extbase controller action don't return a ResponseInterface,
a deprecation log is raised:

"Controller action TYPO3\CMS\Extbase\Mvc\Controller\ActionController:: does not return ..."

Using late static binding and proper action name resolving
changes this to a much more helpful message:

"Controller action TYPO3\CMS\Styleguide\Controller\StyleguideController->tabAction does not return ..."

Resolves: #93144
Related: #92784
Releases: master
Change-Id: Ife9acd9dcf9e076eea617c31e7720304c59db75a

Tested-by: Anja Leichsenring's avatarAnja Leichsenring <>
Tested-by: default avatarTYPO3com <>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <>
Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
parent ae2be2af
......@@ -578,7 +578,7 @@ abstract class ActionController implements ControllerInterface
'Controller action %s does not return an instance of %s which is deprecated.',
__CLASS__ . '::' . $this->{$this->actionMethodName},
static::class . '::' . $this->actionMethodName,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment