#16716: Regression in admin changelist with failing related admin filters
------------------------------------+-------------------------------
               Reporter:  julien    |          Owner:  nobody
                   Type:  Bug       |         Status:  new
              Milestone:            |      Component:  contrib.admin
                Version:  1.3       |       Severity:  Normal
             Resolution:            |       Keywords:
           Triage Stage:  Accepted  |      Has patch:  0
    Needs documentation:  0         |    Needs tests:  0
Patch needs improvement:  0         |  Easy pickings:  0
                  UI/UX:  0         |
------------------------------------+-------------------------------
Changes (by aaugustin):

 * stage:  Unreviewed => Accepted


Old description:

> This issue was collaterally revealed by the report in #16714. When an
> admin filter spanning relationships is invalid (e.g.
> "?nonexistentrelated__blah=9999", or
> "?existentrelated__nonexistentfield=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.

New description:

 This issue was collaterally revealed by the report in #16714. When an
 admin filter spanning relationships is invalid (e.g.
 "`?nonexistentrelated__blah=9999`", or
 "`?existentrelated__nonexistentfield=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.

--

Comment:

 Fixed formatting:)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16716#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to