From 056e9adfcaa83001b706137dc132d1d7170c9dbb Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Tue, 15 Nov 2016 13:46:42 +0000 Subject: [PATCH] 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 --- .../gcube/portal/threadlocalexec/SmartGearsPortalValve.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portal/threadlocalexec/SmartGearsPortalValve.java b/src/main/java/org/gcube/portal/threadlocalexec/SmartGearsPortalValve.java index 13b9812..79e84a0 100644 --- a/src/main/java/org/gcube/portal/threadlocalexec/SmartGearsPortalValve.java +++ b/src/main/java/org/gcube/portal/threadlocalexec/SmartGearsPortalValve.java @@ -87,10 +87,10 @@ public class SmartGearsPortalValve extends ValveBase { userId = Long.parseLong(userIdNo); return UserLocalServiceUtil.getUser(userId).getScreenName(); } catch (NumberFormatException e) { - _log.error("The userId is not a number -> " + userId); + _log.error("The userId is not a number -> " + userIdNo); return null; } 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; } }