Skip to content
Snippets Groups Projects
Commit b2cf889a authored by srosse's avatar srosse
Browse files

OO-3643: end definitively assessment mode by changing end date

parent 15dec8c4
No related branches found
No related tags found
No related merge requests found
......@@ -377,6 +377,9 @@ public class AssessmentModeCoordinationServiceImpl implements AssessmentModeCoor
mode = assessmentModeManager.getAssessmentModeById(mode.getKey());
Set<Long> assessedIdentityKeys = assessmentModeManager.getAssessedIdentityKeys(mode);
mode = ensureStatusOfMode(mode, Status.end);
Date now = new Date();
((AssessmentModeImpl)mode).setEnd(now);
((AssessmentModeImpl)mode).setEndWithFollowupTime(now);
sendEvent(AssessmentModeNotificationEvent.END, mode, assessedIdentityKeys);
return mode;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment