Task #36943

Catch exceptions in HTTP Browser

Added by Robert Lemke about 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2012-05-08
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Http
Target version:TYPO3 Flow Base Distribution - 1.1 beta 1
Sprint: Has patch:No
PHP Version:5.3 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
Added by Robert Lemke about 3 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 about 3 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 about 3 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 about 3 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 about 3 years ago

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

Also available in: Atom PDF