Skip to content

Commit

Permalink
Merge pull request sakaiproject#367 from jonespm/SAK-29128
Browse files Browse the repository at this point in the history
SAK-29128 - Problem when removing students from a group who previously
  • Loading branch information
ottenhoff committed Apr 1, 2015
2 parents 4f9b52a + f2c7bbb commit c3530ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ private List getTotalPointsEarnedInternal(final String studentId, final Gradeboo
if(gradeRec.getPointsEarned() != null && !gradeRec.getPointsEarned().equals("") && !gradeRec.getDroppedFromGrade())
{
Assignment go = gradeRec.getAssignment();
if (go.isIncludedInCalculations())
if (go.isIncludedInCalculations() && countedAssigns.contains(go))
{
Double pointsEarned = new Double(gradeRec.getPointsEarned());
//if(gbGradeType == GradebookService.GRADE_TYPE_POINTS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ List getTotalPointsEarnedInternal(final String studentId, final Gradebook gradeb
if(gradeRec.getPointsEarned() != null && !gradeRec.getPointsEarned().equals("") && !gradeRec.getDroppedFromGrade())
{
Assignment go = gradeRec.getAssignment();
if (go.isIncludedInCalculations())
if (go.isIncludedInCalculations() && countedAssigns.contains(go))
{
Double pointsEarned = new Double(gradeRec.getPointsEarned());
//if(gbGradeType == GradebookService.GRADE_TYPE_POINTS)
Expand Down

0 comments on commit c3530ce

Please sign in to comment.