Skip to content

Commit

Permalink
SAK-45967: No bullhorn notification when clicking post for assi… (sak…
Browse files Browse the repository at this point in the history
…aiproject#9863)

* SAK-45967: Fixed No bullhorn notification when clicking post for assignment that was draft

* Update assignment/tool/src/java/org/sakaiproject/assignment/tool/AssignmentAction.java

Co-authored-by: Adrian Fish <[email protected]>

Co-authored-by: Adrian Fish <[email protected]>
  • Loading branch information
jkjanetschek and adrianfish authored Sep 29, 2021
1 parent 0f5392b commit 5bf8d44
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8147,7 +8147,8 @@ private void post_save_assignment(RunData data, String postOrSave) {
}
}
}
if (newAssignment) {
//SAK-45967
if (newAssignment || !a.getDraft()) {
// post new assignment event since it is fully initialized by now
eventTrackingService.post(eventTrackingService.newEvent(AssignmentConstants.EVENT_ADD_ASSIGNMENT, assignmentReference, true));
}
Expand Down

0 comments on commit 5bf8d44

Please sign in to comment.