You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2020/01/06 21:54:09 UTC
[airavata] branch airavata-3276 updated: Ignoring empty all non
required inputs
This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch airavata-3276
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/airavata-3276 by this push:
new d332a5a Ignoring empty all non required inputs
d332a5a is described below
commit d332a5a778247f4b55972fb6918e63bbb8a42e5d
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Mon Jan 6 16:53:53 2020 -0500
Ignoring empty all non required inputs
---
.../airavata/helix/impl/task/submission/config/GroovyMapBuilder.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.java b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.java
index 4332645..412ad54 100644
--- a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.java
+++ b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.java
@@ -253,8 +253,7 @@ public class GroovyMapBuilder {
}
if (!inputDataObjectType.isIsRequired() &&
- (inputDataObjectType.getValue() == null || "".equals(inputDataObjectType.getValue())) &&
- (inputDataObjectType.getType() == DataType.URI || inputDataObjectType.getType() == DataType.URI_COLLECTION)) {
+ (inputDataObjectType.getValue() == null || "".equals(inputDataObjectType.getValue()))) {
// For URI/ Collection non required inputs, if the value is empty, ignore it. Fix for airavata-3276
continue;
}