Form wizard get_template bug
|Reported by:||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The FormWizard calls get_template(self, step) with the wrong step.
The code calls it with self.step, but self.step never gets updated after each step. It always stays 0 and so the get_template will always return the same value regardless of the step. The code doesn't seem to use self.step otherwise and so I developed a patch based on that fact.
Change History (4)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|