Issue Bug Closed

#87846ErrorController overwrites response status code from handlers

Helmut Hummel 03/05/19, 16:09 updated 05/07/19, 12:10

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).

Reviews 2