Opened 19 years ago

Closed 18 years ago

Last modified 18 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

Description

If you have an IntegerField and you don't define it within the HTML form, when it is submitted and ChangeManipulator.save 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 by pspierce@…, 19 years ago

sorry, didn't give email.

comment:2 by Luke Plant, 18 years ago

Resolution: duplicate
Status: newclosed

This is a specific case of #1207

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