airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: fixing error when getting tasks
Date Thu, 03 Sep 2015 19:44:35 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 42cd60de8 -> 420a031a1


fixing error when getting tasks


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/420a031a
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/420a031a
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/420a031a

Branch: refs/heads/master
Commit: 420a031a1bb1b9e08b6bff3201a89f3a09fdc8c9
Parents: 42cd60d
Author: Chathuri Wimalasena <chathuri@apache.org>
Authored: Thu Sep 3 15:44:28 2015 -0400
Committer: Chathuri Wimalasena <chathuri@apache.org>
Committed: Thu Sep 3 15:44:28 2015 -0400

----------------------------------------------------------------------
 .../registry/core/experiment/catalog/impl/ExperimentRegistry.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/420a031a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java
index 6d6864f..d0e9636 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java
@@ -706,7 +706,7 @@ public class ExperimentRegistry {
             }
             if(process.getTasks() != null && process.getTasks().size() > 0){
                 for(TaskModel task : process.getTasks()){
-                    updateTask(task, process.getProcessId());
+                    updateTask(task, task.getTaskId());
                 }
             }
         } catch (Exception e) {


Mime
View raw message