Opened 9 years ago

Closed 8 years ago

Last modified 7 years ago

#11044 closed (fixed)

FormWizard extra_context attribute is class-wide

Reported by: Taylan Pince Owned by: nobody
Component: contrib.formtools Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


FormWizard's extra_context attribute is declared within the class, rather than the init method, which means that it persists across the class, causing data within the extra_context to appear in all requests. Patch attached to move the declaration inside init.

Attachments (1)

formwizard_extra_context_fix.diff (905 bytes) - added by Taylan Pince 9 years ago.
Patch to move extra_context declaration under init

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Taylan Pince

Patch to move extra_context declaration under init

comment:1 Changed 8 years ago by Russell Keith-Magee

milestone: 1.2
Triage Stage: UnreviewedAccepted

comment:2 Changed 8 years ago by Ramiro Morales

Resolution: fixed
Status: newclosed

Fixed in [12644] (that has a typo in the commit message), backported to the 1.1.X branch in [12645].

comment:3 Changed 7 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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