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 0f6a154..fe49ac3 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 @@ -3794,6 +3794,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi public void getFileFromWorkspace(CSVImportSession csvImportSession) throws TDGWTServiceException { HttpServletRequest httpRequest = this.getThreadLocalRequest(); ServiceCredentials serviceCredentials = SessionUtil.getServiceCredentials(httpRequest); + logger.debug("GetFileFromWorkspace: "+csvImportSession); FilesStorage filesStorage = new FilesStorage(); ItemDescription itemDescription = filesStorage.getItem(serviceCredentials.getUserName(), csvImportSession.getId()); @@ -7346,6 +7347,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi public void getFileFromWorkspace(CodelistMappingSession codelistMappingSession) throws TDGWTServiceException { HttpServletRequest httpRequest = this.getThreadLocalRequest(); ServiceCredentials serviceCredentials = SessionUtil.getServiceCredentials(httpRequest); + logger.debug("GetFileFromWorkspace: "+codelistMappingSession); FilesStorage filesStorage = new FilesStorage(); ItemDescription itemDescription = filesStorage.getItem(serviceCredentials.getUserName(), codelistMappingSession.getItemId()); diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/storage/FilesStorage.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/storage/FilesStorage.java index 4ccc8ce..99d2e20 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/storage/FilesStorage.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/storage/FilesStorage.java @@ -311,7 +311,7 @@ public class FilesStorage { */ public ItemDescription getItem(String user, String itemId) throws TDGWTServiceException { try { - logger.debug("getItem: [user=" + user + ", itemId=" + itemId + "]"); + logger.debug("GetItem: [user=" + user + ", itemId=" + itemId + "]"); StorageHubClient shc = new StorageHubClient(); FileContainer fileContainer = shc.open(itemId).asFile(); AbstractFileItem item = fileContainer.get();