﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
14576	Regression in FormWizard	Timothée Peignier	nobody	"It seems that changeset [14291] introduced a regression in FormWizard.
The last form of the wizard is never passed to {{{ done(self, request, form_list) }}}, that make FormWizard much useless.

Here is the regression test that should help :
{{{
def test_14291(self):
    reached = [False]
    that = self
        
    class WizardWithProcessStep(WizardClass):
        def done(self, request, form_list):
            reached[0] = True
            that.assertTrue(len(form_list) == 2)
        
    wizard = WizardWithProcessStep([WizardPageOneForm,
                                                                WizardPageTwoForm])
    
    data = {""0-field"": ""test"",
                  ""1-field"": ""test2"",
                  ""hash_0"": ""2fdbefd4c0cad51509478fbacddf8b13"",
                  ""wizard_step"": ""1""}
    wizard(DummyRequest(POST=data))
    self.assertTrue(reached[0])
}}}
"		closed	contrib.formtools	1.2		fixed	form wizard sprintnov13		Accepted	1	0	0	0	0	0
