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
This commit is contained in:
parent
a99f85b4b4
commit
e83bfd0b52
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue