You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user was added to a section but have not logged into scheduler, mentors cannot change the attendance for the student, because of a validation error when saving the object in the database through the serializer.
In particular, the following Django log is printed:
<Attendance:Failure> Could not record attendance for User <pk=24;[email protected]>, errors: {'student_name': [ErrorDetail(string='This field may not be blank.', code='blank')]}
Generally, this hasn't been an issue in the past, since student enroll themselves in sections, which requires them to have logged into scheduler. However, if a coordinator manually enrolls a student without having them login first, this creates a new user and student object without any associated name, causing this error when attempting to modify attendances.
The text was updated successfully, but these errors were encountered:
If a user was added to a section but have not logged into scheduler, mentors cannot change the attendance for the student, because of a validation error when saving the object in the database through the serializer.
In particular, the following Django log is printed:
Generally, this hasn't been an issue in the past, since student enroll themselves in sections, which requires them to have logged into scheduler. However, if a coordinator manually enrolls a student without having them login first, this creates a new user and student object without any associated name, causing this error when attempting to modify attendances.
The text was updated successfully, but these errors were encountered: