Opened 18 years ago

Closed 18 years ago

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

Description

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)

to

d = new_data.pop(self.field_name)

George

Change History (2)

comment:1 by Adrian Holovaty, 18 years ago

Status: newassigned

comment:2 by Adrian Holovaty, 18 years ago

Resolution: invalid
Status: assignedclosed

Please reopen with more information.

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