#2356: @validate decorator does not work if error_handler is not set.
------------------------+---------------------------------------------------
Reporter: vjaaskel | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: 2.1
Component: TurboGears | Version: 2.0
Severity: normal | Resolution: invalid
Keywords: |
------------------------+---------------------------------------------------
Changes (by vjaaskel):
* status: new => closed
* resolution: => invalid
Comment:
This was just a misunderstanding on how the error handling is supposed to
work if error_handler function is not set. I didn't expect the function
itself to be used as the error handler. The validation works and
pylons.c.form_errors contain expected errors in the test_validation
function.
--
Ticket URL: <http://trac.turbogears.org/ticket/2356#comment:2>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en