#14946 closed (fixed)
Form wizard doesn't process last form
Reported by: | Qrees | Owned by: | nobody |
---|---|---|---|
Component: | contrib.formtools | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
FirmWizard call method calls done with current_form_list, which doesn't have last processed form appended:
File contrin/formtools/wizard.py (line 115):
if next_step == self.num_steps(): return self.done(request, current_form_list)
Should be something like this:
if next_step == self.num_steps(): final_form_list = current_form_list + [form] return self.done(request, final_form_list)
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | patch.diff added |
---|
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
@Qrees,
Unfortunately this issue had been fixed (with an implementation very similar to yours) in mainline development but somehow slipped from our 'Backport fixes to 1.2.X branch' process and thus, missed the possibility to be included in the recently tagged 1.2.4 bug-fix release.
This means you will need to either a) manually apply the fix to the 1.2.x release you are using or b) to track the 1.2.X development branch.
Thanks for bringing this to our attention and for sumbitting a fix.
Patch