mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Transfer event re-ordering:
- enter success/error/cancel state event fired before report events - but, success/error/cancel events still fired after report events git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -776,14 +776,14 @@ public class TransferServiceImpl2 implements TransferService2
|
||||
destinationReport = persistDestinationTransferReport(reportName, transfer, target);
|
||||
if (destinationReport != null)
|
||||
{
|
||||
eventProcessor.writeReport(destinationReport, TransferEventReport.ReportType.DESTINATION);
|
||||
eventProcessor.writeReport(destinationReport, TransferEventReport.ReportType.DESTINATION, endEventImpl.getTransferState());
|
||||
}
|
||||
|
||||
logger.debug("now persist the client side transfer report");
|
||||
sourceReport = persistTransferReport(reportName, transfer, target, definition, transferReportEvents, manifest, failureException);
|
||||
if (sourceReport != null)
|
||||
{
|
||||
eventProcessor.writeReport(sourceReport, TransferEventReport.ReportType.SOURCE);
|
||||
eventProcessor.writeReport(sourceReport, TransferEventReport.ReportType.SOURCE, endEventImpl.getTransferState());
|
||||
}
|
||||
}
|
||||
catch(Exception e)
|
||||
|
Reference in New Issue
Block a user