Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@94885 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fe4880c51b
commit
69cb564bcb
|
@ -252,19 +252,20 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
HttpSession session = this.getThreadLocalRequest().getSession();
|
||||
|
||||
TabResource currentTR = SessionUtil.getTabResource(session);
|
||||
logger.debug("getCurrentTRId()");
|
||||
if (currentTR == null) {
|
||||
logger.error("CURRENT_TABULAR_RESOURCE is null");
|
||||
throw new TDGWTServiceException(
|
||||
"CURRENT_TABULAR_RESOURCE is null");
|
||||
}
|
||||
logger.debug("GetTabResourceInformation():" + currentTR.toString());
|
||||
logger.debug("getCurrentTRId():" + currentTR.toString());
|
||||
|
||||
if (currentTR.getTrId() == null) {
|
||||
logger.error("CURRENT_TABULAR_RESOURCE has TRId null");
|
||||
throw new TDGWTServiceException(
|
||||
"CURRENT_TABULAR_RESOURCE has TRId null");
|
||||
}
|
||||
|
||||
logger.debug("getCurrentTRId():"+currentTR.getTrId());
|
||||
return currentTR.getTrId();
|
||||
} catch (Throwable e) {
|
||||
logger.error(
|
||||
|
|
Loading…
Reference in New Issue