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/4ba16d63 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/4ba16d63 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/4ba16d63 Branch: refs/heads/master Commit: 4ba16d63cb774f04f3f0a1afb32708c1afd42215 Parents: dad1204 Author: Chathuri Wimalasena <[email protected]> Authored: Thu Sep 3 15:44:28 2015 -0400 Committer: Supun Nakandala <[email protected]> Committed: Sat Sep 5 12:24:21 2015 +0530 ---------------------------------------------------------------------- .../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/4ba16d63/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) {
