removed ASL Session, ported to gCube Client Context
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134185 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
800f06bb34
commit
056e9adfca
|
@ -87,10 +87,10 @@ public class SmartGearsPortalValve extends ValveBase {
|
||||||
userId = Long.parseLong(userIdNo);
|
userId = Long.parseLong(userIdNo);
|
||||||
return UserLocalServiceUtil.getUser(userId).getScreenName();
|
return UserLocalServiceUtil.getUser(userId).getScreenName();
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
_log.error("The userId is not a number -> " + userId);
|
_log.error("The userId is not a number -> " + userIdNo);
|
||||||
return null;
|
return null;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
_log.error("The userId does not belong to any user -> " + userId);
|
_log.error("The userId does not belong to any user -> " + userIdNo);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue