Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C CMS
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • CI
  • CMS
  • Repository
Switch branch/tag
  • cms
  • ..
  • Controller
  • ActionController.php
Find file BlameHistoryPermalink
  • Christian Kuhn's avatar
    [BUGFIX] Better deprecation log in extbase controller action · 6f454735
    Christian Kuhn authored Dec 21, 2020
    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
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67228
    
    
    Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    6f454735