Commit 499d03e1 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Ivan Tyagov

Fix ingestion with data ingestion batch

Data ingestion batch does not have validation workflow, so
we cannot validate it.
parent f36b6176
...@@ -69,7 +69,7 @@ def init_input_line(input_line, operation_line): ...@@ -69,7 +69,7 @@ def init_input_line(input_line, operation_line):
for data_sink_type in data_sink_type_list: for data_sink_type in data_sink_type_list:
# This should be more generic # This should be more generic
if data_sink_type != "Progress Indicator": if data_sink_type not in ("Progress Indicator", "Data Ingestion Batch"):
data_sink = portal.getDefaultModule(data_sink_type).newContent( data_sink = portal.getDefaultModule(data_sink_type).newContent(
portal_type = data_sink_type, portal_type = data_sink_type,
reference = "%s-%s" %(data_ingestion_reference, resource_reference)) reference = "%s-%s" %(data_ingestion_reference, resource_reference))
......
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