Opened 16 years ago
Closed 12 years ago
#9684 closed Bug (needsinfo)
Authentication Backend Supresses Some Exceptions
Reported by: | David Cramer | Owned by: | nobody |
---|---|---|---|
Component: | contrib.auth | Version: | dev |
Severity: | Normal | Keywords: | dceu13 |
Cc: | eromijn@… | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When using custom backends we noticed that sometimes errors are supressed. One such error was an invalid arguments error for .create() on the default manager.
# throws an exception because it should be a dictionary, instead of a list. User.objects.create(*args)
The error above is supressed, and simply returns a failure on authenticate(), which can be a headache to debug.
Change History (5)
comment:1 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → Bug |
comment:3 by , 13 years ago
UI/UX: | unset |
---|
comment:5 by , 12 years ago
Cc: | added |
---|---|
Keywords: | dceu13 added |
Resolution: | → needsinfo |
Status: | new → closed |
Based on the report, I can't really work out what the problem is. Considering the age and lack of activity on this ticket, I am closing it with needsinfo.
Feel free to reopen it if you can provide additional detail, like a more extensive example of the improper behaviour.
Change UI/UX from NULL to False.