Merge pull request #7777 from mvdbeek/fix_workflow_param_error

Make paired check more defensive
This commit is contained in:
John Chilton
2019-04-19 16:21:08 -04:00
committed by GitHub
@@ -426,7 +426,7 @@ var InputTerminal = BaseInputTerminal.extend({
"Cannot attach collections to data parameters with individual data inputs already attached."
);
}
if (otherCollectionType.collectionType.endsWith("paired")) {
if (otherCollectionType.collectionType && otherCollectionType.collectionType.endsWith("paired")) {
return new ConnectionAcceptable(
false,
"Cannot attach paired inputs to multiple data parameters, only lists may be treated this way."