Project

General

Profile

Actions

Task #98502

closed

Correct fallback to default error handler

Added by Georg Ringer about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2022-10-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The site module states:

Make sure to have at least 0 (not defined otherwise) configured in order to serve helpful error messages to your visitors.

however there is a strict comparison with the configured error codes which means that if e.g error 500 and 0 are configured but a 404 occurs, it is not handled.

checking 0 makes it easier for simple site setups having just 1 error page because only one configuration is needed.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #98702: Ensure code follows cgl rulesetClosed2022-10-22

Actions
Has duplicate TYPO3 Core - Bug #91503: Use default error handlerClosedGeorg Ringer2020-05-27

Actions
Actions #1

Updated by Gerrit Code Review about 2 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75943

Actions #2

Updated by Gerrit Code Review about 2 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75943

Actions #3

Updated by Gerrit Code Review about 2 years ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75943

Actions #4

Updated by Gerrit Code Review about 2 years ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75943

Actions #5

Updated by Georg Ringer about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Stefan Bürk about 2 years ago

  • Related to Bug #98702: Ensure code follows cgl ruleset added
Actions #7

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions #8

Updated by Georg Ringer 6 months ago

  • Has duplicate Bug #91503: Use default error handler added
Actions

Also available in: Atom PDF