Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1604 closed defect (invalid)

FormField.convert_post_data() bug

Reported by: anonymous Owned by: adrian
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: UI/UX:

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 Changed 9 years ago by adrian

  • Status changed from new to assigned

comment:2 Changed 9 years ago by adrian

  • Resolution set to invalid
  • Status changed from assigned to closed

Please reopen with more information.

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