Editing a student will remove their attendance history. This behavior is unexpected and may be inconvenient for many users since it is not uncommon for student's details to change.
Steps to reproduce:
Ensure at least one student exists in the app.
Run marka 1 3.
Run edit 1 e/newemail@gmail.com.
Expected Behavior:
Only the edited field is changed. The student should still keep their attendance history.
Actual Behavior:
Student's attendance history is reset.
Editing a student will remove their attendance history. This behavior is unexpected and may be inconvenient for many users since it is not uncommon for student's details to change.
Steps to reproduce:
marka 1 3
.edit 1 e/newemail@gmail.com
.Expected Behavior: Only the edited field is changed. The student should still keep their attendance history.
Actual Behavior: Student's attendance history is reset.