Code

Opened 9 years ago

Closed 8 years ago

Last modified 8 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 = , ...).

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by pspierce@…

sorry, didn't give email.

comment:2 Changed 8 years ago by lukeplant

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

This is a specific case of #1207

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.