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
Click "Eintelung vornehmen" to assign students to tutorials
In our case, this assigned students to a group with capacity zero and resulted in an internal server error (500) when visiting the lecture's overview page. It is still possible to visit the page where the tutorial can be modified directly. Moving all students that were assigned to the zero-capacity tutorial to a different tutorial or setting the capacity to a non-zero value fixes the 500 error.
So it seems that:
capacity zero is not correctly treated
having a N > 0 students in a group with capacity zero seems to cause an exception on the server (our assumption is that it's a classic divide by zero).
Arguably, having a group with capacity zero doesn't make sense so maybe the easiest solution is just to disallow having groups with zero capacity.
The text was updated successfully, but these errors were encountered:
To reproduce:
In our case, this assigned students to a group with capacity zero and resulted in an internal server error (500) when visiting the lecture's overview page. It is still possible to visit the page where the tutorial can be modified directly. Moving all students that were assigned to the zero-capacity tutorial to a different tutorial or setting the capacity to a non-zero value fixes the 500 error.
So it seems that:
Arguably, having a group with capacity zero doesn't make sense so maybe the easiest solution is just to disallow having groups with zero capacity.
The text was updated successfully, but these errors were encountered: