When a learner submits a file through an SGA (Staff Graded Assignment) XBlock and a staff/instructor user attempts to download all submissions via the staff grading view on the live site, the action fails with a 500 Internal Server Error. The error occurs on the prepare_download_submissions API handler call.
STEPS TO REPRODUCE
- Log in to Studio on sandbox.openedx.edly.io with an admin/staff account.
- Open (or create) a course in Studio and add an SGA (Staff Graded Assignment) XBlock to a unit.
- Publish the unit so it is visible on the LMS.
- Log in as a learner account and navigate to the course unit containing the SGA XBlock.
- Upload and submit any file through the SGA XBlock submission form.
- Log back in as a staff/instructor account and navigate to the same course unit on the live LMS.
- In the SGA staff grading view, click the "Download All Submissions" button.
- Observe the error.
EXPECTED RESULT
Clicking "Download All Submissions" should trigger a file download (i.e., a ZIP archive) containing all learner-submitted files.
ACTUAL RESULT
The browser receives a 500 Internal Server Error response. The failing request is the call to the prepare_download_submissions handler endpoint on the SGA XBlock.
ENVIRONMENT
sandbox.openedx.edly.io
XBLOCK
edx-sga
AFFECTED ROLE
Staff / Instructor
***
FAILING REQUEST — CONFIRMED FROM NETWORK TAB
HTTP 500 Internal Server Error
***
When a learner submits a file through an SGA (Staff Graded Assignment) XBlock and a staff/instructor user attempts to download all submissions via the staff grading view on the live site, the action fails with a 500 Internal Server Error. The error occurs on the
prepare_download_submissionsAPI handler call.STEPS TO REPRODUCE
EXPECTED RESULT
Clicking "Download All Submissions" should trigger a file download (i.e., a ZIP archive) containing all learner-submitted files.
ACTUAL RESULT
The browser receives a 500 Internal Server Error response. The failing request is the call to the prepare_download_submissions handler endpoint on the SGA XBlock.
ENVIRONMENT
sandbox.openedx.edly.io
XBLOCK
edx-sgaAFFECTED ROLE
Staff / Instructor
***
HTTP 500 Internal Server Error