Task #36943

Catch exceptions in HTTP Browser

Added by Robert Lemke over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Http
Start date:
2012-05-08
Due date:
% Done:

100%

Sprint:
PHP Version:
5.3
Has patch:
No
Complexity:
easy

Description

Currently any exceptions caused by controllers etc. are not caught by the virtual browser. In order to make the behavior of the Browser class more realistic, these should be converted into a string and a 500 status should be set for the response.

This affects the InternalRequestEngine only.

Associated revisions

Revision 5b26f74b (diff)
Added by Robert Lemke over 7 years ago

[TASK] Handle exceptions in virtual HTTP browser

The virtual HTTP browser now catches any exceptions
and returns the exception information in the response
rather than letting the actual exception slip through.

Change-Id: I4915343d5eec68f758573353ddbcc273399f2774
Resolves: #36943
Releases: 1.1

History

#1 Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11071

#2 Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11071

#3 Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11071

#4 Updated by Robert Lemke over 7 years ago

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

Also available in: Atom PDF