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

Export cloned quiz report not working properly in IE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.6, 2.3.3, 2.4
    • Fix Version/s: 2.2.7, 2.3.4, 2.4.1
    • Component/s: Quiz, Reports
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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

              Assignee:
              timhunt Tim Hunt
              Reporter:
              gordonmc Gordon McLeod
              Integrator:
              Dan Poltawski
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jan/13