Steps taken to recreate this bug.These steps assume you already have a roster created. If you do not....create one and add a student
Make and run executable
From main menu got to manage roster menu(2)
From manage roster menu go to view rosters(1)
From view rosters enter the name of a roster with at least 1 row of data in it and hit enter key
Read warning message. Enter 'y' and hit enter key
When presented with the option choose to sort the roster(1) and hit enter key
Enter the name of any column. I tend to use FirstName. then hit enter key
Choose which order you'd like to sort the roster. It does not matter which you choose. then hit enter key
Press any key and you will return back to manage roster menu
From manage roster menu choose to remove student from roster(5)
Enter the name of a roster with at least one row of data then hit the enter key
Enter the full StudentID then hit the enter key
Enter 'y' to confirm that you want to delete the student and hit the enter key
After completing all those steps in order the program will run its checks and say it successfully deleted the student form the roster,But if you look at the roster either using the program or a third party SQL viewer you will see the chosen student is still in the roster. This only happens if you try sorting a roster first. If you restart the program and go straight to deleting data from a roster everything is fine.
Errors are logged from the backend as well. See screenshot below
Found in #32
Steps taken to recreate this bug. These steps assume you already have a roster created. If you do not....create one and add a student
FirstName
. then hit enter keyStudentID
then hit the enter keyAfter completing all those steps in order the program will run its checks and say it successfully deleted the student form the roster,But if you look at the roster either using the program or a third party SQL viewer you will see the chosen student is still in the roster. This only happens if you try sorting a roster first. If you restart the program and go straight to deleting data from a roster everything is fine.
Errors are logged from the backend as well. See screenshot below