ALF-10132: FSTR is not working

- Fixes some problems with progress tracking and reporting. Still needs some work.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2011-09-14 09:58:41 +00:00
parent a58a85a9c9
commit 072be2dde9

View File

@@ -73,6 +73,11 @@ public class StatusCommandProcessor implements CommandProcessor
{
TransferProgress progress = receiver.getProgressMonitor().getProgress(transferId);
if (logger.isDebugEnabled())
{
logger.debug(progress);
}
JSONObject progressObject = new JSONObject();
progressObject.put("transferId", transferId);
progressObject.put("status", progress.getStatus().toString());
@@ -92,8 +97,6 @@ public class StatusCommandProcessor implements CommandProcessor
resp.setStatus(Status.STATUS_OK);
resp.getWriter().write(response);
logger.debug("transfer started" + transferId);
return Status.STATUS_OK;
}