From e83bfd0b523d33f100c2bbb1a50271f48409dd44 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Wed, 2 Jul 2014 17:11:38 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@98328 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/td/gwtservice/server/TDGWTServiceImpl.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index 75f5f65..3b30381 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -7706,21 +7706,28 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements HttpSession session = this.getThreadLocalRequest().getSession(); if (session == null) { throw new TDGWTServiceException( - "Error retrieving the session: null"); + "Session is null"); } logger.debug("Session:" + session.getId()); ASLSession aslSession = SessionUtil.getAslSession(session); if (aslSession == null) { throw new TDGWTServiceException( - "Error retrieving the asl session: null"); + "ASLSession is null"); } String user = aslSession.getUsername(); logger.debug("Session User:" + user); + if (codelistMappingSession == null) { + throw new TDGWTServiceException( + "CodelistMappingSession is null"); + } + logger.debug("StartCodelistMappingImport: " + codelistMappingSession.toString()); - + + SessionUtil.setCodelistMappingSession(session,codelistMappingSession); + importCodelistMappingFileOnService(session, aslSession, user, codelistMappingSession); } catch (TDGWTSessionExpiredException e) {