提交 49148124 编写于 作者: S Serge Rider

Saved data transfer config fix

上级 ed2c0ac1
......@@ -94,6 +94,12 @@ public class DataTransferSettings {
}
consumerOptional = initProducers[0] instanceof IDataTransferNodePrimary;
producerOptional = initConsumers[0] instanceof IDataTransferNodePrimary;
if (producerOptional && consumerOptional) {
// Both producer and consumer set are primary
// This may happen when task was saved for db-> settings
// Leave only optional consumer then
producerOptional = false;
}
} else if (!ArrayUtils.isEmpty(initProducers)) {
// Make pipes
for (IDataTransferProducer source : initProducers) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册