Fix "Submit" button to only set submittedAt for parent when all siblings have a submitted submission
Currently, the Submit or Mark Completed button for questions (e.g. multiple-choice, programming, etc.) also sets the parent to submitted when all sibling submissions are submitted. However, it does not check whether a submission exists for all sibling assignments.
Example: if a student during an exam opens a multiple choice question and submits it without opening another assignment, it will also set the exam submission itself to submitted and therefore the autoSubmitOnDeadline will not be considered for this student, leading to possible other (later opened) questions to not have the Submitted status.
Submitted by Max on 3 July 2025 at 16:12