Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Passed previous semester' crash if student has passed this semester #1126

Open
torgeirl opened this issue Oct 25, 2019 · 2 comments
Open

'Passed previous semester' crash if student has passed this semester #1126

torgeirl opened this issue Oct 25, 2019 · 2 comments
Assignees

Comments

@torgeirl
Copy link
Collaborator

torgeirl commented Oct 25, 2019

If a student has passed one or more assignment in the current semester the 'Passed previous semester' function crash when you try to pass them for all assignments they passed in previous semesters.

Solution
a. Add an error message warning that the student already passed some of the same assignments this semester, or
b. Make the function pass assignments previously passed if they haven't already passed this semester (again).

@StianJul
Copy link
Collaborator

StianJul commented Apr 21, 2021

@torgeirl, can't reproduce this. We should be filtering out students on the current semester that has been corrected, and is what's happening when trying to reproduce this error. Do you have any additional information?

Tested the following cases

Student passed assignment 1 current semester

  1. Student has passed assignment1 on current semester.
  2. The same student has passed assignment1 on previous semester.

Using the "Automatically pass students from an earlier semester" workflow and selecting the previous semester, results in the student being excluded from the selection of students that can be passed (since the student already has passed the assignment on the current semester)

Student passed assignment 1 and assignment 2 current semester

  1. Student has passed assignment1 and assignment2 on current semester.
  2. The same student has passed assignment1 and assignment2 on previous semester.

Same result here.

@torgeirl torgeirl modified the milestones: Devilry 5.1, Devilry 5.2 Apr 29, 2021
@torgeirl
Copy link
Collaborator Author

@StianJul: it will take me some time to get additional information on this issue. Moving this issue to the next feature release so it doesn't delay the release of 5.1.

@torgeirl torgeirl modified the milestones: Devilry 5.2, Devilry 5.3 Aug 10, 2021
@torgeirl torgeirl modified the milestones: Devilry 5.4, Devilry 5.5 Oct 6, 2021
@torgeirl torgeirl removed this from the Devilry 5.5 milestone Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants