Moodle
  1. Moodle
  2. MDL-29579

Include question text in XHTML full report export of quiz statistics report in Moodle 2.1

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.4, 2.1.1, 2.2, 2.3
    • Fix Version/s: 2.1.4, 2.2.1
    • Component/s: Quiz
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      1. Create a quiz
      2. Attempt it several times as different students.
      3. Go to the quiz statistics report
      4. Download the complete report as XHTML

      verify that the question text is included.

      Note that there is a known problem with images: MDL-30592

      Show
      1. Create a quiz 2. Attempt it several times as different students. 3. Go to the quiz statistics report 4. Download the complete report as XHTML verify that the question text is included. Note that there is a known problem with images: MDL-30592
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
    • Rank:
      19093

      Description

      In the current Moodle 2.1 XHTML export of quiz statistics, the question text is not shown. This is problematic for math questions that have images as the question text. Showing only the question name does not let the teacher know what the student was being asked. Most geometry questions have images for both the question text and each answer.

        Issue Links

          Activity

          Hide
          Tim Hunt added a comment -

          You should, of course, be providing good alt-text for all your images, to comply with Accessibility legislation. (Section 508 in the US, SENDA / DDA in the UK, equivalents in other parts of the world.)

          Show
          Tim Hunt added a comment - You should, of course, be providing good alt-text for all your images, to comply with Accessibility legislation. (Section 508 in the US, SENDA / DDA in the UK, equivalents in other parts of the world.)
          Hide
          Tim Hunt added a comment -

          There is also a MDL-29579-22 branch, but there is not a field for that in the tracker yet.

          Show
          Tim Hunt added a comment - There is also a MDL-29579 -22 branch, but there is not a field for that in the tracker yet.
          Hide
          Rob added a comment -

          Thank you very much for finding the time to work on this Tim. I greatly appreciate it. I have applied your code to my site, and will be showing the report to some math folks later today.

          I know it is a lot to ask, but would it be possible to render images in answer fields as well?

          Show
          Rob added a comment - Thank you very much for finding the time to work on this Tim. I greatly appreciate it. I have applied your code to my site, and will be showing the report to some math folks later today. I know it is a lot to ask, but would it be possible to render images in answer fields as well?
          Hide
          Tim Hunt added a comment -

          Well, yes it is possible, but it is also a lot of work, so it is not going to happen.

          Show
          Tim Hunt added a comment - Well, yes it is possible, but it is also a lot of work, so it is not going to happen.
          Hide
          Tim Hunt added a comment -

          TO INTEGRATORS: Please cherry-pick the master fix on to 2.2 branch. Thanks.

          Show
          Tim Hunt added a comment - TO INTEGRATORS: Please cherry-pick the master fix on to 2.2 branch. Thanks.
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Integrated, thanks! (21, 22 and master)

          Show
          Eloy Lafuente (stronk7) added a comment - Integrated, thanks! (21, 22 and master)
          Hide
          Sam Hemelryk added a comment -

          Passing this now, thanks Tim

          Show
          Sam Hemelryk added a comment - Passing this now, thanks Tim
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Yes, you did it!

          Now your code is part of the best weeklies released ever, many thanks!

          Closing, ciao

          Show
          Eloy Lafuente (stronk7) added a comment - Yes, you did it! Now your code is part of the best weeklies released ever, many thanks! Closing, ciao

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: