#11806: FormWizard.process_step() doesn't always have a validated Form.
------------------------------------+---------------------------------------
          Reporter:  kiowa          |         Owner:  nobody
            Status:  reopened       |     Milestone:        
         Component:  Documentation  |       Version:  1.1   
        Resolution:                 |      Keywords:        
             Stage:  Unreviewed     |     Has_patch:  0     
        Needs_docs:  0              |   Needs_tests:  0     
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Changes (by mpaolini):

  * status:  closed => reopened
  * resolution:  invalid =>

Comment:

 in contrib/formtools/wizard.py
 {{{
 63              for i in range(current_step):
 64                  form = self.get_form(i, request.POST)
 65                  if request.POST.get("hash_%d" % i, '') !=
 self.security_hash(request, form):
 66                      return self.render_hash_failure(request, i)
 67                  self.process_step(request, form, i)
 }}}
 line 67: form passed to self.process_step is _never_ cleaned (happens for
 all forms before current_step)

 this is an old bug, I'm sure there are other tickets on this

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11806#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to