You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2014/03/11 21:09:17 UTC

git commit: fixing error details not saving issue

Repository: airavata
Updated Branches:
  refs/heads/master fc8f9681d -> 86bf411da


fixing error details not saving issue


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

Branch: refs/heads/master
Commit: 86bf411da1665a91fb14bbce878dd3f3b9ebec92
Parents: fc8f968
Author: chathuri <ch...@apache.org>
Authored: Tue Mar 11 16:09:11 2014 -0400
Committer: chathuri <ch...@apache.org>
Committed: Tue Mar 11 16:09:11 2014 -0400

----------------------------------------------------------------------
 .../persistance/registry/jpa/resources/ErrorDetailResource.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/86bf411d/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ErrorDetailResource.java
----------------------------------------------------------------------
diff --git a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ErrorDetailResource.java b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ErrorDetailResource.java
index 9e97c17..3a1592d 100644
--- a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ErrorDetailResource.java
+++ b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ErrorDetailResource.java
@@ -178,6 +178,7 @@ public class ErrorDetailResource extends AbstractResource {
         errorDetail.setErrorID(errorId);
         Experiment experiment = em.find(Experiment.class, experimentResource.getExpID());
         errorDetail.setExperiment(experiment);
+        errorDetail.setExpId(experimentResource.getExpID());
         if (taskDetailResource != null){
             TaskDetail taskDetail = em.find(TaskDetail.class, taskDetailResource.getTaskId());
             errorDetail.setTask(taskDetail);