We have a condition_dict containing the following function:
def need_further_steps(wizard):
data = wizard.get_cleaned_data_for_step("0") or {}
if data.get("no_invoices_needed", False):
return False
return True
The call to WizardView.get_cleaned_data_for_step then calls WizardView.get_form, which used to reference self.form_list, but the following commit changes this to self.get_form_list(), which then calls the user-supplied condition_dict functions, which then calls our need_further_steps function above, which calls WizardView.get_cleaned_data_for_step, and so on ad infinitum.
533a830
Perhaps our custom condition function is bad, but it doesn't seem too unreasonable?
We have a
condition_dictcontaining the following function:The call to
WizardView.get_cleaned_data_for_stepthen callsWizardView.get_form, which used to referenceself.form_list, but the following commit changes this toself.get_form_list(), which then calls the user-suppliedcondition_dictfunctions, which then calls ourneed_further_stepsfunction above, which callsWizardView.get_cleaned_data_for_step, and so on ad infinitum.533a830
Perhaps our custom condition function is bad, but it doesn't seem too unreasonable?