When downloaded, exported quiz reports should be named like:
course_shortname-quiz_name-responses.extension
If the shortname of a course or the name of a quiz module contains an '&' character, when downloaded the export file will not be named correctly and will not have a proper file extension (.csv, .xslx, etc)
Steps to reproduce:
- Create a course with a shortname with an ampersand (EG 'Quizzes & stuff')
- Add a quiz activity with at least one attempt
- Navigate to the quiz report (grades, responses, or statistics)
- Attempt to download the table data
- Observe the download file is "Quizzes amp'
- Change the course shortname to remove the & (EG 'Quizzes and stuff')
- Download the quiz report table data and confirm it works normally
- duplicates
-
MDL-78343 Report download (e.g. quiz responses) truncates response text after less-than sign
-
- Open
-