Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TYPO3.CMS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibilityaccessibility
  • TYPO3.CMS
  • Repository
Switch branch/tag
  • TYPO3.CMS
  • ..
  • master
  • Breaking-88376-RemovedObsoletePageNot...
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [!!!][TASK] Remove legacy "pageNotFound_handling" options · 45cb70b8
    Benni Mack authored Apr 12, 2019
    With the introduction of site handling, the old "pageNotFound_handling"
    mechanisms can be removed. If a site configuration hasn't configured
    a error handler, a 404/403/500 response with the default error
    renderer is now returned. Making PageNotFoundExceptions rendering
    the frontend very seldom.
    
    The following options are removed:
    - $TYPO3_CONF_VARS[FE][pageNotFound_handling]
    - $TYPO3_CONF_VARS[FE][pageNotFound_handling_statheader]
    - $TYPO3_CONF_VARS[FE][pageNotFound_handling_accessdeniedheader]
    - $TYPO3_CONF_VARS[FE][pageUnavailable_handling]
    - $TYPO3_CONF_VARS[FE][pageUnavailable_handling_statheader]
    
    Tests have been adopted to check against status code / message
    rather than on the exceptions (not) thrown (anymore).
    
    In addition, a JsonResponse is now returned if JSON
    was requested, instead of the regular HTML content.
    
    Resolves: #88376
    Releases: master
    Change-Id: I6be57fadaa0ddf83039fbdcc9186ef93d5a51158
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60453
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    45cb70b8