Opened 17 years ago
Closed 17 years ago
#6926 closed (fixed)
newforms-admin ValidationError in BaseFormSet
Reported by: | Mark Sundstrom | Owned by: | nobody |
---|---|---|---|
Component: | Forms | Version: | newforms-admin |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The formset management_form is created with the passed-in prefix instead of self.prefix. This causes a ValidationError (ManagementForm data is missing or has been tampered with) when data or files is passed in, since in that case the management_form is created with self.prefix. This looks to be an oversight from a few revs back.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | formsets.diff added |
---|
comment:1 by , 17 years ago
Needs tests: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
path formsets.py to fix the ValidationError