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

When viewing course log entries for Quiz View Summary a number is displayed not the quiz name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.6, 2.2.3, 2.3.10, 2.4.7, 2.5.3, 2.6, 2.7
    • Fix Version/s: 2.4.8, 2.5.4, 2.6.1
    • Component/s: Quiz
    • Testing Instructions:
      Hide

      1) Create a quiz with at least 1 question.
      2) Perform some attempts showing the final summary table (that will lead to 'view summary' logs inserted.
      3) Go to the logs report
      4) TEST: Verify the 'view summary' entries display the quiz name in the "information" column (they used to be the quiz->id before the patch)

      Show
      1) Create a quiz with at least 1 question. 2) Perform some attempts showing the final summary table (that will lead to 'view summary' logs inserted. 3) Go to the logs report 4) TEST: Verify the 'view summary' entries display the quiz name in the "information" column (they used to be the quiz->id before the patch)
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      master-mdl33971

      Description

      When viewing course logs, various quiz actions will appear with "Quiz: [quiz name]" in the Information column. If, however, the action is 'quiz view summary', a number will appear instead and this is causing some confusion amongst our users. The issue seems to be that 'view summary' was never added to the definition of log events in /mod/quiz/db/log.php.

      Could you please update the quiz module so that 'quiz view summary' events
      will appear correctly when viewing logs.

      Credits to Ed Bassett

        Attachments

          Activity

            People

            • Assignee:
              tlock Tim Lock
              Reporter:
              tlock Tim Lock
              Peer reviewer:
              Tim Hunt
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/14