You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2015/12/15 17:40:42 UTC
airavata git commit: AIRAVATA-1857 fixing project not updating issue
Repository: airavata
Updated Branches:
refs/heads/master 6c5e9954a -> 0dc7e8452
AIRAVATA-1857 fixing project not updating issue
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/0dc7e845
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/0dc7e845
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/0dc7e845
Branch: refs/heads/master
Commit: 0dc7e845235d71553b44233bb072ae2d0bd27bd2
Parents: 6c5e995
Author: scnakandala <su...@gmail.com>
Authored: Tue Dec 15 11:40:36 2015 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Tue Dec 15 11:40:36 2015 -0500
----------------------------------------------------------------------
.../registry/core/experiment/catalog/impl/ProjectRegistry.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/0dc7e845/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ProjectRegistry.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ProjectRegistry.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ProjectRegistry.java
index d29fbb3..7d77308 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ProjectRegistry.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ProjectRegistry.java
@@ -116,7 +116,7 @@ public class ProjectRegistry {
workerResource = ExpCatResourceUtils.addGatewayWorker(gatewayResource, user);
}else {
workerResource = (WorkerResource) ExpCatResourceUtils.getWorker(
- gatewayResource.getGatewayName(), user.getUserName());
+ gatewayResource.getGatewayId(), user.getUserName());
}
WorkerResource worker = new WorkerResource(project.getOwner(), gatewayResource.getGatewayId());
existingProject.setWorker(worker);