Opened 9 years ago

Closed 9 years ago

Last modified 9 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
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: UI/UX:

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 Changed 9 years ago by pspierce@…

sorry, didn't give email.

comment:2 Changed 9 years ago by lukeplant

  • Resolution set to duplicate
  • Status changed from new to closed

This is a specific case of #1207

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