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

Quiz: Manual grading report does not handle separate groups when the user is not in any group

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.11.6
    • 3.11.5
    • Quiz
    • MOODLE_311_STABLE
    • MOODLE_311_STABLE
    • Hide

      Covered by behat tests.

       

      For manual testing:

      1. Create a course
      2. Setup the following users and enrol them to the course as following roles:
        1. teacher1 as 'editingteacher'
        2. teacher2 as 'teacher'
        3. student1 as 'student'
        4. student2 as 'student'
      3. Set up a groupings
      4. Set up 2 groups ( eg. group1 and group2) where only group1 is part of the grouping
      5. Set the teacher1 and student1 to be members of the group1 and within the grouping
      6. Set the teacher2 and student2 to be members of the group2
      7. Create a question category and couple of questions
      8. Create a quiz in a separate group mode and add the questions to this quiz.
      9. Let student1 and student2 attempt the quiz
      10. Login as teacher1 and go to Quiz -> Results -> Manual gradingverify that students attempts can be access
      11. Login as teacher2 and go to Quiz -> Results -> Manual grading and verify that students attempts cannot be accessed and verify that you see 'Sorry, but you need to be part of a group to see this page.'
      Show
      Covered by behat tests.   For manual testing: Create a course Setup the following users and enrol them to the course as following roles: teacher1 as 'editingteacher' teacher2 as 'teacher' student1 as 'student' student2 as 'student' Set up a groupings Set up 2 groups ( eg. group1 and group2) where only group1 is part of the grouping Set the teacher1 and student1 to be members of the group1 and within the grouping Set the teacher2 and student2 to be members of the group2 Create a question category and couple of questions Create a quiz in a separate group mode and add the questions to this quiz. Let student1 and student2 attempt the quiz Login as teacher1 and go to Quiz -> Results -> Manual gradingverify that students attempts can be access Login as teacher2 and go to Quiz -> Results -> Manual grading and verify that students attempts cannot be accessed and verify that you see 'Sorry, but you need to be part of a group to see this page.'

      Steps to reproduce:

      1. Create course
      2. Set up groupings, groups and group memebers like this:
        • Tutorial groups grouping
          • Tommy teacher's group
            • Ty Cher (enroled as non-editing teacher)
            • Lorna Lott (enrolled as student)
        • Exam marking grouing
          • Marking group 1
            • Mark Allwright (enroled as non-editing teacher)
      3. Create a quiz, set to Separate groups, with Grouping: Tutorial groups grouping.
      4. Log in as Lornal Lott, and attempt the quiz.
      5. Log in as Mark Allwright, and go to Quiz -> Results -> Manual grading.

      Expected result: You see a message 'Sorry, but you need to be part of a group to see this page.' like in the other quiz reports.

      Acutal result: Mark can see Lorna's attempt, and grade it.

            mkassaei Mahmoud Kassaei
            timhunt Tim Hunt
            Tim Hunt Tim Hunt
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 1 minute
                1h 1m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.