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

Students can not see unhidden grades for hidden activities in the User report

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.4, 2.3.1, 2.4
    • 2.2.6, 2.3.3
    • Gradebook
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-34931-master
    • Hide

      Test pre-requisites

      • Assign students to a course
      • Create an assignment (assignment or assign, as you wish)
      • Grade the students for the assignment
      • Disable enablegroupmembersonly
      • Create two groups (Group 1 and 2)
      • Assign Student 1 to Group 1, and Student 2 to Group 2
      • Place Group 1 in a grouping name A and Group 2 in B
      • Open a browser with Student 1 logged in, and another with the admin

      Test steps

      1. The student navigates to Home ► My courses ► COURSE ► Grade administration ► User report
      2. Make sure you can see your grade on the assignment
      3. As an admin, hide the activity
      4. Make sure the student CANNOT see his grade any more
      5. As an admin, go to the gradebook and unhide the assignment grades
      6. Make sure the student CAN see his grade
      1. As admin, enable enablegroupmembersonly
      2. Unhide the assignment
      3. Edit the settings and show advanced
      4. Set 'Grouping' to 'A'
      5. Tick 'Available for group members only'
      6. Make sure the student CAN see his grade
      7. As an admin, set 'Grouping' to 'B'
      8. Make sure the student CANNOT see his grade
      1. As admin, hide the assignment
      2. Edit the settings and show advanced
      3. Set 'Grouping' to 'A'
      4. Tick 'Available for group members only'
      5. As an admin, go to the gradebook and unhide the assignment grades
      6. Make sure the student CAN see his grade
      7. As an admin, set 'Grouping' to 'B'
      8. Go to the gradebook and unhide the assignment grades
      9. Make sure the student CANNOT see his grade
      1. As admin, hide the assignment
      2. Edit the assignment settings and untick 'Available for group members only'
      3. Go to the gradebook and unhide the assignment grades
      4. Make sure the student CAN see his grade
      Show
      Test pre-requisites Assign students to a course Create an assignment (assignment or assign, as you wish) Grade the students for the assignment Disable enablegroupmembersonly Create two groups (Group 1 and 2) Assign Student 1 to Group 1, and Student 2 to Group 2 Place Group 1 in a grouping name A and Group 2 in B Open a browser with Student 1 logged in, and another with the admin Test steps The student navigates to Home ► My courses ► COURSE ► Grade administration ► User report Make sure you can see your grade on the assignment As an admin, hide the activity Make sure the student CANNOT see his grade any more As an admin, go to the gradebook and unhide the assignment grades Make sure the student CAN see his grade As admin, enable enablegroupmembersonly Unhide the assignment Edit the settings and show advanced Set 'Grouping' to 'A' Tick 'Available for group members only' Make sure the student CAN see his grade As an admin, set 'Grouping' to 'B' Make sure the student CANNOT see his grade As admin, hide the assignment Edit the settings and show advanced Set 'Grouping' to 'A' Tick 'Available for group members only' As an admin, go to the gradebook and unhide the assignment grades Make sure the student CAN see his grade As an admin, set 'Grouping' to 'B' Go to the gradebook and unhide the assignment grades Make sure the student CANNOT see his grade As admin, hide the assignment Edit the assignment settings and untick 'Available for group members only' Go to the gradebook and unhide the assignment grades Make sure the student CAN see his grade

    Description

      Something got switched recently, and now students do not see grades for the activities that are hidden on the course homepage, but for which the grade column in unhidden in the gradebook.

      Tested on 2.2.4, 2.3, latest dev

      Create an assignment, grade students
      Hide the assignment
      Go to the gradebook and Unhide the grade column
      Login as a student, and you will not see the grade

      I believe it is pretty urgent.
      Forum: http://moodle.org/mod/forum/discuss.php?d=206790

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              elenaivanova Elena Ivanova
              Andrew Davis Andrew Davis
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Dan Poltawski Dan Poltawski
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              29 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12