Opened 9 years ago

Last modified 9 years ago

#25767 closed Bug

integer_field_ranges are incorrect for MySQL backend — at Initial Version

Reported by: George Marshall Owned by: nobody
Component: Database layer (models, ORM) Version: 1.8
Severity: Normal Keywords:
Cc: Simon Charette Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

The integer ranges for PositiveSmallIntegerField and PositiveIntegerField are reflective of UNSIGNED INT and UNSIGNED BIGINT. When the ORM actually uses UNSIGNED SMALLINT and UNSIGNED INT when creating these fields.

The side effect of this is that data will pass validation checks, but fail to commit to the database.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top