“Separate groups” dropdown sometimes missing for non-editing teachers in quiz reports (Moodle 4.2.1)

“Separate groups” dropdown sometimes missing for non-editing teachers in quiz reports (Moodle 4.2.1)

Nosūtīja Oliver Smitkowski
Atbilžu skaits: 7

Hi everyone,

In one of our courses, we’ve set up multiple groups. Each group has at least one non-editing teacher assigned.

The course includes several quizzes, and these non-editing teachers need to be able to view how their assigned learners are performing. To do this, they access a quiz (e.g., /mod/quiz/view.php?id=1234) and click on "Results", which takes them to a page like /mod/quiz/report.php?id=1234.

Normally, they should see a dropdown labeled "Separate groups", where they can select the groups they are assigned to. At the bottom of the page, they should then see results for only the users in the currently selected group.

Screenshot of the top of a "results" page to a Moodle quiz

In most cases, this works as expected. However, for at least three out of 22 non-editing teachers, the "Separate groups" dropdown does not appear consistently. When it is missing, non-editing teachers end up seeing the results for all learners, which shouldn't happen given their group assignments.

We’re running Moodle 4.2.1 with three instances behind a load balancer. All instances share the same database, and automated tests confirm that the codebase is identical across them.

Could this be a known bug, or is there something we might have missed in our configuration?

Thanks in advance for any pointers!

Oliver

Vidējais novērtējums: -
Atbildot uz Oliver Smitkowski

“Separate groups” dropdown sometimes missing for non-editing teachers in quiz reports (Moodle 4.2.1)

Nosūtīja Emma Richardson
Documentation writers attēls Particularly helpful Moodlers attēls Plugin developers attēls
Are the non-editing teachers assigned to the groups? Do they have the See All Groups permission removed? Is this happening across all courses - e.g. can another non-editing teacher in the same course see the dropdown? Is the course set to separate groups?
Atbildot uz Emma Richardson

“Separate groups” dropdown sometimes missing for non-editing teachers in quiz reports (Moodle 4.2.1)

Nosūtīja Oliver Smitkowski

Hi Emma,

The non-editing teachers are assigned to the groups they need to see. The moodle/site:accessallgroups capability is not set for this role. The course is set to separate groups. As far as we know so far, every non-editing teacher sometimes can see the dropdown. For at least three out of 22 non-editing teachers, the dropdown does not appear consistently. One person assumes this depends on whether they access the results from the course or from "Recently accessed items" on the dashboard, but I could not verify this with a test account.

Thank you
Oliver

Atbildot uz Oliver Smitkowski

“Separate groups” dropdown sometimes missing for non-editing teachers in quiz reports (Moodle 4.2.1)

Nosūtīja Emma Richardson
Documentation writers attēls Particularly helpful Moodlers attēls Plugin developers attēls
Weird - try setting AccessAllGroups to Not Allow and see if that fixes it.
Atbildot uz Emma Richardson

“Separate groups” dropdown sometimes missing for non-editing teachers in quiz reports (Moodle 4.2.1)

Nosūtīja Oliver Smitkowski
You mean the moodle/site:accessallgroups capability , right? This is not (and never was) allowed for non-editing teachers in our system.
Atbildot uz Oliver Smitkowski

“Separate groups” dropdown sometimes missing for non-editing teachers in quiz reports (Moodle 4.2.1)

Nosūtīja Oliver Smitkowski
We assume now that there was no technical issue here. Instead,
  • the instructor had created several quizzes with very similar names, and
  • it seems that Moodle only allows results to be viewed by group membership if the corresponding group already exists when the quiz is created.
Atbildot uz Oliver Smitkowski

“Separate groups” dropdown sometimes missing for non-editing teachers in quiz reports (Moodle 4.2.1) [Solved]

Nosūtīja Helen Foster
Core developers attēls Documentation writers attēls Moodle HQ attēls Particularly helpful Moodlers attēls Plugin developers attēls Testers attēls Translators attēls

Oliver, good to hear that you figured out the reason why the separate groups dropdown was sometimes missing. Thanks for sharing it, as it will likely help others who are wondering the same thing.

Atbildot uz Oliver Smitkowski

“Separate groups” dropdown sometimes missing for non-editing teachers in quiz reports (Moodle 4.2.1)

Nosūtīja Tim Hunt
Core developers attēls Documentation writers attēls Particularly helpful Moodlers attēls Peer reviewers attēls Plugin developers attēls
The second bullet point here is not correct.

After the quiz has been attempted, you can go and define groups and grouping, and then set the quiz to use those to display the results, if that is what you want.