Skip to content

Commit fbbc7a0

Browse files
fix upload error when finding groups disabled (#13334)
1 parent fcfee2f commit fbbc7a0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dojo/engagement/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ def process_form(
974974
"apply_tags_to_endpoints": form.cleaned_data.get("apply_tags_to_endpoints", False),
975975
"close_old_findings_product_scope": form.cleaned_data.get("close_old_findings_product_scope", None),
976976
"group_by": form.cleaned_data.get("group_by", None),
977-
"create_finding_groups_for_all_findings": form.cleaned_data.get("create_finding_groups_for_all_findings"),
977+
"create_finding_groups_for_all_findings": form.cleaned_data.get("create_finding_groups_for_all_findings", None),
978978
"environment": self.get_development_environment(environment_name=form.cleaned_data.get("environment")),
979979
})
980980
# Create the engagement if necessary

dojo/test/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ def process_form(
915915
"apply_tags_to_endpoints": form.cleaned_data.get("apply_tags_to_endpoints", False),
916916
"group_by": form.cleaned_data.get("group_by", None),
917917
"close_old_findings": form.cleaned_data.get("close_old_findings", None),
918-
"create_finding_groups_for_all_findings": form.cleaned_data.get("create_finding_groups_for_all_findings"),
918+
"create_finding_groups_for_all_findings": form.cleaned_data.get("create_finding_groups_for_all_findings", None),
919919
})
920920
# Override the form values of active and verified
921921
if activeChoice := form.cleaned_data.get("active", None):

0 commit comments

Comments
 (0)