2.3.7
+
+
+ Spills
+
+
+ |
@@ -452,6 +477,16 @@ exports[`PermitConditionsNavigation renders properly 1`] = `
>
2.3.8
|
+
+
+ Flammable Waste Storage
+
+
+ |
@@ -535,7 +570,7 @@ exports[`PermitConditionsNavigation renders properly 1`] = `
|
Date: Tue, 21 May 2024 22:35:56 +0000
Subject: [PATCH 3/3] MDS-5947 Fixed error when not including linked reports
---
.../compliance/resources/compliance_article_create_resource.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/core-api/app/api/compliance/resources/compliance_article_create_resource.py b/services/core-api/app/api/compliance/resources/compliance_article_create_resource.py
index ce44d79262..e2e2881945 100644
--- a/services/core-api/app/api/compliance/resources/compliance_article_create_resource.py
+++ b/services/core-api/app/api/compliance/resources/compliance_article_create_resource.py
@@ -142,7 +142,7 @@ def post(self):
cim_or_cpo)
- if len(reports):
+ if reports is not None and len(reports):
report_guids = [r.get('mine_report_definition_guid') for r in reports]
reports = MineReportDefinition.find_by_mine_report_definition_many(report_guids)
|