Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#15075 closed (fixed)

No longer possible to alter the form_list in FormWizard.process_step

Reported by: Luke Plant Owned by: Staś Małolepszy
Component: contrib.formtools Version: 1.2
Severity: Keywords: regression
Cc: stas@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

(Copied from #14498 comment 5 by niels)

Since [14290], it is not possible to alter the form_list in process_step anymore, because the current_step form is instantiated before previous_steps processing has been done. If I change the initial step2 form to a different form when processing step1 the current_step form is clearly not the right one anymore.

Attachments (1)

15075_fix.patch (5.7 KB ) - added by Luke Plant 13 years ago.
Patch by stas

Download all attachments as: .zip

Change History (6)

by Luke Plant, 13 years ago

Attachment: 15075_fix.patch added

Patch by stas

comment:1 by Luke Plant, 13 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Staś Małolepszy, 13 years ago

Cc: stas@… added
Owner: changed from nobody to Staś Małolepszy
Status: newassigned

comment:3 by Luke Plant, 13 years ago

Resolution: fixed
Status: assignedclosed

(In [15196]) Fixed #15075 - No longer possible to alter the form_list in FormWizard.process_step

Thanks to niels, stas for the report, and stas for the patch.

comment:4 by Luke Plant, 13 years ago

(In [15197]) [1.2.X] Fixed #15075 - No longer possible to alter the form_list in FormWizard.process_step

Thanks to niels, stas for the report, and stas for the patch.

Backport of [15196] from trunk.

comment:5 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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