ValidationError in form wizard with formsets
|Reported by:||foonicorn||Owned by:||foonicorn|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||no|
I encountered an issue with the form wizard when the first step is a formset and the user resends a later step after completing the wizard.
Complete the wizard successfully
Hit the browser back button (page usually comes from cache then)
Send the last form again
Because the wizard's storage gets reseted after completion, the wizard will start with the first step. If the first step is a formset, its ManagementForm raises a ValidationError because the data is passed but doesn't contain the expected values.
Change History (8)
comment:3 Changed 4 years ago by
|Owner:||changed from nobody to foonicorn|
|Status:||new → assigned|