Project

General

Profile

Actions

Bug #87846

closed

ErrorController overwrites response status code from handlers

Added by Helmut Hummel about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-03-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It is possible to configure error handler classes for different error conditions.

The ErrorController which creates instances of these classes and calling the API method
receives a response object, but modifies the object with the hard coded status code.

This makes it impossible for the handler classes to modify the response code as well (like changing it from 403 to 303).

Actions

Also available in: Atom PDF