Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#1604 closed defect (invalid)

FormField.convert_post_data() bug

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


In FormField.convert_post_data(), it is possible to set a new entry instead of replacing the old one when self.field_name != self.get_member_name() (for instance in foreign keys). The required change is from

d = new_data.getlist(self.field_name)


d = new_data.pop(self.field_name)


Change History (2)

comment:1 Changed 14 years ago by Adrian Holovaty

Status: newassigned

comment:2 Changed 14 years ago by Adrian Holovaty

Resolution: invalid
Status: assignedclosed

Please reopen with more information.

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