Fixed trId session
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@84116 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f1b8cc1b87
commit
fca3c40ac4
|
@ -81,7 +81,20 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
throws TDGWTServiceException {
|
||||
try {
|
||||
session = this.getThreadLocalRequest().getSession();
|
||||
if (tabResource == null) {
|
||||
logger.error("Error setting TabResource: null");
|
||||
throw new TDGWTServiceException(
|
||||
"Error setting TabResource: null");
|
||||
}
|
||||
|
||||
if (tabResource.getTrId() == null) {
|
||||
logger.error("Error setting TabResource trId is null");
|
||||
throw new TDGWTServiceException(
|
||||
"Error setting TabResource trId is null");
|
||||
}
|
||||
|
||||
SessionUtil.setTabResource(session, tabResource);
|
||||
SessionUtil.setTRId(session, tabResource.getTrId());
|
||||
return;
|
||||
|
||||
} catch (Exception e) {
|
||||
|
@ -260,7 +273,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @param tabResource
|
||||
|
@ -377,8 +389,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* SDMX Import
|
||||
*
|
||||
|
@ -727,7 +737,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
|
||||
importCSVFileOnService(user, fileUploadSession, columnToImportMask);
|
||||
|
||||
|
||||
}
|
||||
|
||||
protected Map<String, Object> csvImportFileParameter(
|
||||
|
|
Loading…
Reference in New Issue