Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74680

Export of quiz reports does not handle &

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.11.6
    • Quiz, Reports
    • MOODLE_311_STABLE

      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

            Unassigned Unassigned
            benkahn Benjamin Kahn
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.