Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#513 closed defect (duplicate)

an integer form field is passed to sql as a string if it is None and not on the form.

Reported by: anonymous Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


If you have an IntegerField and you don't define it within the HTML form, when it is submitted and is called (I assume AddManipulator is the same here), and if the value is None, then it is submitted to the sql execute as a string and the sql writes it out as a string (i.e. some_number = , ...).

Change History (2)

comment:1 Changed 13 years ago by pspierce@…

sorry, didn't give email.

comment:2 Changed 12 years ago by Luke Plant

Resolution: duplicate
Status: newclosed

This is a specific case of #1207

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