From af3f870b75ad81aef9a78fafe01e7d2f0e2a6a86 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Wed, 28 May 2014 17:59:03 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@96230 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/td/gwtservice/server/TDGWTServiceImpl.java | 13 +------------ 1 file changed, 1 insertion(+), 12 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 0170d96..c441ecb 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 @@ -7141,18 +7141,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements "Error in extract codelist, TabResource is null"); } - TRId trId = SessionUtil.getTRId(session); - if (trId == null) { - throw new TDGWTServiceException( - "Error no tabular resource in session"); - } - - if (trId.getTableId() == null) { - throw new TDGWTServiceException("Error no table present in session"); - } - - extractCodelistSession.setTrId(trId); - + OperationExecution invocation = retrieveOperationExecution(service, extractCodelistSession); if (invocation == null) {