#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 , 19 years ago
| Status: | new → assigned |
|---|
comment:2 by , 19 years ago
| Resolution: | → invalid |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Please reopen with more information.