#26810: DATA_UPLOAD_MAX_NUMBER_FIELDS not taken into account in admin mass 
actions
-------------------------------+--------------------
     Reporter:  Adys           |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Uncategorized  |    Version:  1.10
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 In Django 1.10a1, when selecting all items in an admin view with a lot of
 items and clicking "Select all 50+ elements" and proceeding with the
 action, if the amount of elements exceeds the new
 `DATA_UPLOAD_MAX_NUMBER_FIELDS` setting, a TooManyFieldsSent error will be
 raised. The error is not caught by the admin.

 Possible resolutions:

 * Handle TooManyFieldsSent in admin actions (simple but bad experience)
 * Allow a "select everything" that does not use individual POST fields
 (hard, but best experience)
 * Check DATA_UPLOAD_MAX_NUMBER_FIELDS in the admin, preventing too many
 items from being selected (hard, bad experience)

--
Ticket URL: <https://code.djangoproject.com/ticket/26810>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.eff26df98c07041fc9edcb48bb532299%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to