airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [20/57] airavata git commit: fixing id not set issue
Date Thu, 28 Jul 2016 17:45:34 GMT
fixing id not set issue


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

Branch: refs/heads/develop
Commit: 59449b28eae9ab112386e2d30b3b18891870d34c
Parents: 5d1f9e7
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Thu Jul 7 16:23:49 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Thu Jul 7 16:23:49 2016 -0400

----------------------------------------------------------------------
 .../org/apache/airavata/grouper/resource/ResourceServiceImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/59449b28/modules/group-manager/src/main/java/org/apache/airavata/grouper/resource/ResourceServiceImpl.java
----------------------------------------------------------------------
diff --git a/modules/group-manager/src/main/java/org/apache/airavata/grouper/resource/ResourceServiceImpl.java
b/modules/group-manager/src/main/java/org/apache/airavata/grouper/resource/ResourceServiceImpl.java
index 2f7b4c5..36d7116 100755
--- a/modules/group-manager/src/main/java/org/apache/airavata/grouper/resource/ResourceServiceImpl.java
+++ b/modules/group-manager/src/main/java/org/apache/airavata/grouper/resource/ResourceServiceImpl.java
@@ -206,7 +206,7 @@ public class ResourceServiceImpl {
       Set<Resource> resources = new HashSet<Resource>();
       for (PermissionEntry entry: permissions) {
         Resource resource = new Resource(entry.getAttributeDefNameDispName(), resourceType);
-        resource.setName(entry.getAttributeDefName().getDisplayExtension());
+        resource.setName(entry.getAttributeDefName().getExtension());
         
         //TODO: Discuss it with Suresh and Supun. It might cause some performance issues.
We probably should not populate the parent id since caller will already have it.
 //        Set<AttributeDefName> parentAttributeDefNames = entry.getAttributeDefName().getAttributeDefNameSetDelegate().getAttributeDefNamesThatImplyThisImmediate();


Mime
View raw message