Skip to content

Commit

Permalink
SAK-46545 Participant member of 2 or more groups is being not shown i…
Browse files Browse the repository at this point in the history
…n an assignment submissions list (sakaiproject#10013)
  • Loading branch information
josecebe authored Nov 11, 2021
1 parent 2a4e8e6 commit b607915
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2631,6 +2631,8 @@ public String getSubmitterIdForAssignment(Assignment assignment, User user) {
} else {
submitter = user.getId();
}
} else if (groupIdsMatchingAssignmentForUser.size() > 1 && !assignment.getIsGroup()) {
submitter = user.getId();
} else {
log.warn("User {} is on more than one group for this assignment {}, please remove the user from a group so that they are only a member of a single group", user.getId(), assignment.getId());
}
Expand Down

0 comments on commit b607915

Please sign in to comment.