Our larges courses have started to exceed 1000 students, an unforeseeable number in the early days of Devilry's development cycle.
Steps to reproduce
create an assignments with 1000+ students
add an examiner
Manage examiners > select one examiner OR click Bulk-organize examiners (both will fail)
select or add all students to the examiner(s)
Bad Request (400)
Workaround
manually add N-997 students to the examiner(s)
then bulk add the last 997 students
Solutions
a. Give an error when an admin tries to add 1000+ students to an examiner
b. Re-write function to only select 997 students when selecting all
c. Re-write function to work with 1000+ students.
I naively assumed the magic number was 1000 (four digit), but I have been able to reproduce the issue with as «few» as 998 students. 997 students seems to work.
Our larges courses have started to exceed 1000 students, an unforeseeable number in the early days of Devilry's development cycle.
Steps to reproduce
Manage examiners
> select one examiner OR clickBulk-organize examiners
(both will fail)Bad Request (400)
Workaround
Solutions a. Give an error when an admin tries to add 1000+ students to an examiner b. Re-write function to only select 997 students when selecting all c. Re-write function to work with 1000+ students.