Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15075 closed (fixed)

No longer possible to alter the form_list in FormWizard.process_step

Reported by: lukeplant Owned by: stas
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: UI/UX:

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 lukeplant 3 years ago.
Patch by stas

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by lukeplant

Patch by stas

comment:1 Changed 3 years ago by lukeplant

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 years ago by stas

  • Cc stas@… added
  • Owner changed from nobody to stas
  • Status changed from new to assigned

comment:3 Changed 3 years ago by lukeplant

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

(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 Changed 3 years ago by lukeplant

(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 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.