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

Hard-coded string in statistics_question_table.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.6, 2.4.3, 2.5
    • 2.3.7, 2.4.4
    • Language, Quiz
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • Easy
    • Hide

      1. Create a quiz containing one matching question.
      2. Attempt this quiz as two different students.
      3. As teacher, go to the quiz statistics report, and look at the detailed statistics for the matching question.
      4. Verify that in the Analysis of responses, the Part of question column name is still displayed correctly.

      Show
      1. Create a quiz containing one matching question. 2. Attempt this quiz as two different students. 3. As teacher, go to the quiz statistics report, and look at the detailed statistics for the matching question. 4. Verify that in the Analysis of responses, the Part of question column name is still displayed correctly.

    Description

      I just found a hard-coded English table header in
      mod/quiz/report/statistics/statistics_question_table.php line 77
      of Moodle 2.5 (2.5dev (Build: 20130322)):

      if ($responesstats->has_subparts())

      { $columns[] = 'part'; $headers[] = 'Part of question'; }

      Attachments

        Activity

          People

            jacks92 Jayesh Anandani
            jzimmer Juergen Zimmer
            Tim Hunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/May/13