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

Export cloned quiz report not working properly in IE

    XMLWordPrintable

Details

    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Hide

      1. Create a quiz called "V1/2 quiz" or something like that. (List of invalid characters on http://stackoverflow.com/questions/451452/valid-characters-for-excel-sheet-names).

      2. Attempt the quiz as a student.

      3. As teacher, Go to quiz -> results in the navigation.

      4. Choose to download the results as an Excel spreadsheet. Verify that the spreadsheet opens with no errors.

      (The sheet should be renamed to "V1 2 quiz" inside the file. Existing code will have stripped the / from the filename used.

      Show
      1. Create a quiz called "V1/2 quiz" or something like that. (List of invalid characters on http://stackoverflow.com/questions/451452/valid-characters-for-excel-sheet-names ). 2. Attempt the quiz as a student. 3. As teacher, Go to quiz -> results in the navigation. 4. Choose to download the results as an Excel spreadsheet. Verify that the spreadsheet opens with no errors. (The sheet should be renamed to "V1 2 quiz" inside the file. Existing code will have stripped the / from the filename used.

    Description

      Error when trying to export the quiz report of a CLONED quiz (imported to a new course) as an excel spreadsheet using Internet Explorer 9. The file downloads but is saved without a filetype (and is unrecognised when opened), and is missing the name of the quix in the filename (it just has a prefix name) - so if you download several quizzes from the same course they would overwrite. Using Firefox the same quizzes download as recognised xls filetypes and the filename is appended with the quiz name. Exporting the report for the original quiz (created in a different course) works as expected with both browsers - it's the copy that was imported to the second course that shows this behaviour.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              gordonmc Gordon McLeod
              Dan Poltawski Dan Poltawski
              Ankit Agarwal Ankit Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jan/13