Fixed ckan user retrieving
This commit is contained in:
parent
f117096847
commit
72a2233dbe
|
@ -51,6 +51,7 @@ public abstract class CKANUserCache {
|
||||||
CKANUser ckanUser = userCache.get(gcubeUsername);
|
CKANUser ckanUser = userCache.get(gcubeUsername);
|
||||||
if(ckanUser == null) {
|
if(ckanUser == null) {
|
||||||
ckanUser = new CKANUser();
|
ckanUser = new CKANUser();
|
||||||
|
ckanUser.setName(gcubeUsername);
|
||||||
ckanUser.retrieve();
|
ckanUser.retrieve();
|
||||||
userCache.put(gcubeUsername, ckanUser);
|
userCache.put(gcubeUsername, ckanUser);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue