Feature #3790

Generic error action and validation errors for current request

Added by Christopher Hlubek over 12 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC
Start date:
2009-06-28
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

The user shouldn't have to write a custom error action (altough it should still be possible) for handling argument mapping errors in the ActionController.

A generic errorAction should forward to the last action and set the argument mapping errors in the request (I propose $request->getErrors() for accessing the errors, but this must be discussed). The errors can then be retrieved in the form view helpers and special view helpers for rendering error messages.

#1

Updated by Christopher Hlubek over 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2659.

Also available in: Atom PDF