Feature #3790
Generic error action and validation errors for current request
Status:
Resolved
Priority:
Should have
Assignee:
Category:
MVC
Target version:
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.
Updated by Christopher Hlubek over 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r2659.