=== modified file 'dhis-2/dhis-web/dhis-web-datamart/src/main/java/org/hisp/dhis/datamart/action/GetExportStatusAction.java' --- dhis-2/dhis-web/dhis-web-datamart/src/main/java/org/hisp/dhis/datamart/action/GetExportStatusAction.java 2010-04-12 21:23:33 +0000 +++ dhis-2/dhis-web/dhis-web-datamart/src/main/java/org/hisp/dhis/datamart/action/GetExportStatusAction.java 2010-09-25 20:13:04 +0000 @@ -85,23 +85,19 @@ public String execute() throws Exception - { - - + { if ( processIsRunning( PROCESS_KEY_DATAMART ) ) { String id = getCurrentRunningProcess( PROCESS_KEY_DATAMART ); ProcessExecutor executor = processCoordinator.getProcess( id ); - if ( executor != null && executor.getProcess() != null && executor.getState() != null && executor.getState() instanceof MessageState ) { MessageState state = (MessageState) executor.getState(); message = i18n.getString( state.getMessage() ); - if ( state.isEnded() || state.isCancelled() ) { processCoordinator.removeCancelledOrEndedProcess( id ); === modified file 'dhis-2/dhis-web/dhis-web-datamart/src/main/webapp/dhis-web-datamart/exportStatus.vm' --- dhis-2/dhis-web/dhis-web-datamart/src/main/webapp/dhis-web-datamart/exportStatus.vm 2009-03-03 16:46:36 +0000 +++ dhis-2/dhis-web/dhis-web-datamart/src/main/webapp/dhis-web-datamart/exportStatus.vm 2010-09-25 20:13:04 +0000 @@ -5,7 +5,7 @@
+ |