airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject [33/53] [abbrv] airavata git commit: fixing query typo
Date Thu, 07 Jul 2016 19:30:19 GMT
fixing query typo


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

Branch: refs/heads/master
Commit: 35d07069104fff15ff6ff0aaf1d41217b3ee86c6
Parents: 233e614
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Jun 27 18:13:06 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Jun 27 18:13:06 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/airavata/blob/35d07069/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java
index 44e474b..5fdc265 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java
@@ -600,7 +600,7 @@ public class WorkerResource extends AbstractExpCatResource {
             if(accessibleIds != null){
                 query += " e.experimentId IN (";
                 for(String id : accessibleIds)
-                    query += (id + ",");
+                    query += ("'" + id + "'" + ",");
                 query = query.substring(0, query.length()-1) + ") AND ";
             }
 


Mime
View raw message