#2036: TG gives 500 server error instead of 403 or 404
-------------------------------------------------------+--------------------
Reporter: chrisz | Owner: faide
Type: defect | Status: new
Priority: normal | Milestone: 1.1
Component: TurboGears | Version: 1.0.7
Severity: minor | Resolution:
Keywords: JSON, NoApplicableMethods, SecureResource |
-------------------------------------------------------+--------------------
Comment (by Chris Arndt):
I don't think that `IdentityFailure` should act differently if JSON was
requested. If you set a `failure_url` it might actually yield a URL which
points to a controller which is able to handle JSON.
I think our suggested fix to the login method in comment 3 is sensible.
For the second problem, we should open a separate ticket.
--
Ticket URL: <http://trac.turbogears.org/ticket/2036#comment:4>
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
-~----------~----~----~----~------~----~------~--~---