#27397: OverflowError at /admin/auth/user/<.id>/change
-------------------------------------+-------------------------------------
     Reporter:  Ramin Farajpour      |                    Owner:
  Cami                               |  nickparkin
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  1.10
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by nickparkin):

 * stage:  Accepted => Unreviewed


Comment:

 I have reproduced this error. This is an error on SQLite side as the
 integer is too large to be handled by SQLite.

 You will see this error as above when you search for User ID
 1111111111111111111111

 The max integer is 9223372036854775807. Using this will give you the
 following error:

 Page not found (404)
 Request Method: GET
 Request URL:
 http://127.0.0.1:8000/admin/auth/user/9223372036854775807/change/
 Raised by:      django.contrib.admin.options.change_view

 Out of interest, if you use the user ID 9223372036854775808, you will get
 the same error you saw.

 Was not able to recreate the server crashing on my side. It held up fine
 and simply throws a  Server Error when running under production (Debug =
 False).

--
Ticket URL: <https://code.djangoproject.com/ticket/27397#comment:3>
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/065.e91fdba38156166c0c90791fd3af25c5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to