Opened 15 years ago

Closed 14 years ago

Last modified 13 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: no UI/UX: no

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

Download all attachments as: .zip

Change History (4)

by Taylan Pince, 15 years ago

Patch to move extra_context declaration under init

comment:1 by Russell Keith-Magee, 14 years ago

milestone: 1.2
Triage Stage: UnreviewedAccepted

comment:2 by Ramiro Morales, 14 years ago

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 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

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