Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@90905 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d0b8e6b7d1
commit
64eb836398
1
pom.xml
1
pom.xml
|
@ -171,6 +171,7 @@
|
|||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>tabular-data-widget-common-event</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- LOGGING -->
|
||||
|
|
|
@ -1974,10 +1974,11 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
} else {
|
||||
TaskStatus status = task.getStatus();
|
||||
if (status == null) {
|
||||
logger.debug("Services TaskStatus : null");
|
||||
throw new TDGWTServiceException(
|
||||
"Error in exportCSV Status null");
|
||||
} else {
|
||||
logger.debug("Status: " + task.getStatus());
|
||||
logger.debug("Services TaskStatus: " + task.getStatus());
|
||||
|
||||
exportMonitor.setStatus(matchTaskState(task.getStatus()));
|
||||
switch (exportMonitor.getStatus()) {
|
||||
|
@ -2051,6 +2052,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
protected void saveInDestination(HttpSession session, String user,
|
||||
ExportMetadata exportMetadata, CSVExportSession exportSession)
|
||||
throws TDGWTServiceException {
|
||||
logger.debug("Save Export In Destination");
|
||||
if (exportSession.getDestination().getId().compareTo("Workspace") == 0) {
|
||||
if (SessionUtil.getCSVExportEnd(session) == false) {
|
||||
SessionUtil.setCSVExportEnd(session, true);
|
||||
|
|
Loading…
Reference in New Issue