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

Outline report (at the student Activity reports) shows quiz grade when it must be hidden

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6.5, 2.9.2, 3.0.5, 3.1.2
    • Fix Version/s: 3.1.4
    • Component/s: Quiz, Reports
    • Database:
      MySQL
    • Testing Instructions:
      Hide

      To check it:

      1. Add a course and turn "Show activity reports" on in appearance settings
      2. Create a quiz with some questions.
      3. In review options, uncheck everything so that nothing is available to be reviewed.
      4. Log in with a student and submit an attempt in the quiz.
      5. With the student, visit Outline report - https://[yoursite]/report/outline/user.php?id=[userid]&course=[courseid]&mode=outline). In the course UI, click the "Navigation / My courses / [coursename] / Participants / [user name]" and then select "Outline report" under the "Reports" section.
      6. No grade for the quiz should be visible.
      7. With the student, visit Complete report - https://[yoursite]/report/outline/user.php?id=[userid]&course=[courseid]&mode=complete). In the course UI, click the "Navigation / My courses / [coursename] / Participants / [user name]" and then select "Complete report" under the "Reports" section.
      8. No grade for the quiz should be visible.
      9. As a user with ability to view hidden grades (moodle/grade:viewhidden), visit both reports for the student user.
      10. In both cases, grade should be visible.
      11. Edit the quiz settings
      12. In review options, under "Later, while the quiz is still open" tick marks
      13. As a student without the capability to view hidden grades, make sure you can see the marks from the attempt
      Show
      To check it: Add a course and turn "Show activity reports" on in appearance settings Create a quiz with some questions. In review options, uncheck everything so that nothing is available to be reviewed. Log in with a student and submit an attempt in the quiz. With the student, visit Outline report - https://[yoursite]/report/outline/user.php?id=[userid]&course=[courseid]&mode=outline ). In the course UI, click the "Navigation / My courses / [coursename] / Participants / [user name] " and then select "Outline report" under the "Reports" section. No grade for the quiz should be visible. With the student, visit Complete report - https://[yoursite]/report/outline/user.php?id=[userid]&course=[courseid]&mode=complete ). In the course UI, click the "Navigation / My courses / [coursename] / Participants / [user name] " and then select "Complete report" under the "Reports" section. No grade for the quiz should be visible. As a user with ability to view hidden grades (moodle/grade:viewhidden), visit both reports for the student user. In both cases, grade should be visible. Edit the quiz settings In review options, under "Later, while the quiz is still open" tick marks As a student without the capability to view hidden grades, make sure you can see the marks from the attempt
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip_MDL-48055_master_quiz_activity_report_grade_visibility

      Description

      Sorry if this issue is alredy reported, i coudln't find it.

      To check it:
      1. Create a quiz with some questions.
      2. In timing section, configure a date for "Close the quiz".
      2. In review options unchecked everything and only check "Marks" in "After the quiz is closed".
      3. Log in with a student and submit an attempt in the quiz.

      (Moodle 2.6-2.9)
      4. With the student, visit "Outline report" or "Complete report" at "My profile settings"->"Activity reports".

      Moodle (3.0)
      4. With the student, visit "Outline report" or "Complete report". To reach theses reports click your name at Participant list. The URL page is https://site/user/view.php?id=xxxx&course=xxx).

      ACTUALLY: The student can view the quiz grade at "Outline report" and "Complete report" before the "Close the quiz" date. The student grades report works ok.
      EXPECTED: The students shouldn't view the quiz grade at "Outline report" at "Complete report" until the "Close the quiz" date. The student grades report works ok.

        Attachments

          Activity

            People

            • Votes:
              12 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Jan/17