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

Hard-coded string in statistics_question_table.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.6, 2.4.3, 2.5
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Language, Quiz
    • Labels:
    • Testing Instructions:
      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.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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

            • Assignee:
              jacks92 Jayesh Anandani
              Reporter:
              jzimmer Juergen Zimmer
              Peer reviewer:
              Tim Hunt
              Integrator:
              Dan Poltawski
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              cameron1729, David Mudrák (@mudrd8mz), Helen Foster, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/May/13