When an action is marked as pending, it shouldn't have a started execution at time yet (ALF-4505)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22081 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-08-31 13:43:55 +00:00
parent c3816c2493
commit ef8bfe2f7c

View File

@@ -116,6 +116,9 @@ public class ActionTrackingServiceImpl implements ActionTrackingService
// Set the status
action.setExecutionStatus(ActionStatus.Pending);
// Mark it as not having started quite yet
action.setExecutionStartDate(null);
// Have it put into the cache, so we can tell it
// is waiting to be run
placeActionInCache(action);