Commit 31c27c22 authored by Eteri's avatar Eteri

fixup create data ingestion

parent dc6f2924
......@@ -50,7 +50,8 @@ for supply_line in composed.objectValues(
# start ingestion only if data supply is validated
data_supply_validated = True
for specialise in specialise_list:
for specialise_path in specialise_list:
specialise = portal.restrictedTraverse(specialise_path)
if specialise.getPortalType() == "Data Supply":
if specialise.getValidationState() != "validated":
data_supply_validated = False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment