Opened 13 years ago
Last modified 13 years ago
#16716 closed Bug
Regression in admin changelist with failing related admin filters — at Initial Version
Reported by: | Julien Phalip | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 1.3 |
Severity: | Release blocker | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This issue was collaterally revealed by the report in #16714. When an admin filter spanning relationships is invalid (e.g. "?nonexistentrelatedblah=9999", or "?existentrelatednonexistentfield=9999"), the changelist simply crashes and returns a 500 page. Up to Django 1.3, such an anomaly would cause a 302 redirection (accompanied with the "?e=1" querystring) instead of crashing.
This regression possibly occurred when the Changelist class was slightly modified to build the custom admin filters feature.