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

Complete report error - quiz section

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2, 2.3
    • Fix Version/s: 2.1.7, 2.2.4
    • Component/s: Quiz, Reports
    • Labels:
      None
    • Testing Instructions:
      Hide

      Preques
      1. Attempt a quiz in a course as a student.

      2. Go to that user's complete report for the course. ( Participants > StudentX > Activity Reports > Complete report )

      3. Verify that everything looks OK.

      Show
      Preques 1. Attempt a quiz in a course as a student. 2. Go to that user's complete report for the course. ( Participants > StudentX > Activity Reports > Complete report ) 3. Verify that everything looks OK.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      in Moodle 2.1.x, 2.2.x and 2.3 Beta.

      When inside the complete report for a student, under the quiz section you will see something like this

      Quiz: New Quiz - The Attempt - Whether correct - Marks - Specific feedback - General feedback
      Grade: 5.00 / 10.00
      Attempt {$a} 1: 1.00/2.00 - Monday, 20 February 2012, 02:38 PM

      I have highlighted the error. Inside the file /mod/quiz/lang/en/quiz.php contains this line:

      $string['attempt'] = 'Attempt {$a}';

      which indicates the 'string contains a placeholder' Which is fine but I cannot work out whether it was deliberate or a legacy issue.
      This is easily edited with Language Customisation so that 'mod_quiz' 'attempt' instead of being 'Attempt {$a}' is now 'Attempt'

      Am I missing anything else as I cannot see where else this is impacted?

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jul/12