airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: empty experiment object set
Date Thu, 05 Feb 2015 16:07:57 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 991babd9d -> b1c682431


empty experiment object set


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

Branch: refs/heads/master
Commit: b1c682431c607744ace76529e92d5252896290c7
Parents: 991babd
Author: Chathuri Wimalasena <kamalasini@gmail.com>
Authored: Thu Feb 5 11:07:46 2015 -0500
Committer: Chathuri Wimalasena <kamalasini@gmail.com>
Committed: Thu Feb 5 11:07:46 2015 -0500

----------------------------------------------------------------------
 .../airavata/persistance/registry/jpa/impl/ExperimentRegistry.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/b1c68243/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/ExperimentRegistry.java
----------------------------------------------------------------------
diff --git a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/ExperimentRegistry.java
b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/ExperimentRegistry.java
index cedbeb3..4597d31 100644
--- a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/ExperimentRegistry.java
+++ b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/ExperimentRegistry.java
@@ -909,6 +909,7 @@ public class ExperimentRegistry {
         try {
             ExperimentResource experiment = (ExperimentResource) gatewayResource.create(ResourceType.EXPERIMENT);
             WorkflowNodeDetailResource workflowNode = experiment.getWorkflowNode(nodeId);
+            experiment = workflowNode.getExperimentResource();
             TaskDetailResource taskDetail = (TaskDetailResource) workflowNode.create(ResourceType.TASK_DETAIL);
             taskDetail.setWorkflowNodeDetailResource(workflowNode);
             taskDetail.setTaskId(getTaskID(workflowNode.getNodeName()));


Mime
View raw message