Task #54618

Split up ActionController::errorAction()

Added by Andreas Wolf over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
MVC
Target version:
-
Start date:
2013-12-28
Due date:
% Done:

100%

Estimated time:
Sprint:
PHP Version:
Has patch:
No
Complexity:

Description

The method errorAction() in ActionController contains code that does three jobs:

  • adding the error flash messages
  • redirecting back to the original request
  • outputting a flattened validation error messages

As one might wish to override one or more of these aspects, but not c&p the whole code, these concerns should be moved to separate methods that are called from errorAction().


Related issues

Has duplicate TYPO3 Flow Base Distribution - Task #55189: Extract forward handling from errorActionClosedBastian Waidelich2014-01-20

Actions
#1

Updated by Gerrit Code Review over 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/26570

#2

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/26570

#3

Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/26570

#4

Updated by Gerrit Code Review over 7 years ago

Patch set 4 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/26570

#5

Updated by Gerrit Code Review over 7 years ago

Patch set 5 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/26570

#6

Updated by Andreas Wolf over 7 years ago

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

Also available in: Atom PDF