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

Hard-coded string in statistics_question_table.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.7, 2.4.4
    • 2.3.6, 2.4.3, 2.5
    • 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.

      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'; }

            jacks92 Jayesh Anandani
            jzimmer Juergen Zimmer
            Tim Hunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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