Opened 8 years ago

Closed 7 years ago

Last modified 5 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:

Description

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 8 years ago.
Patch to move extra_context declaration under init

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Taylan Pince

Patch to move extra_context declaration under init

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

milestone: 1.2
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 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 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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