“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)

ved Oliver Smitkowski -
Antal besvarelser: 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

Gennemsnitsbedømmelse: -
I svar til Oliver Smitkowski

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

ved Emma Richardson -
Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Plugin developers
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?
I svar til Emma Richardson

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

ved 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

I svar til Oliver Smitkowski

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

ved Emma Richardson -
Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Plugin developers
Weird - try setting AccessAllGroups to Not Allow and see if that fixes it.
I svar til Emma Richardson

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

ved Oliver Smitkowski -
You mean the moodle/site:accessallgroups capability , right? This is not (and never was) allowed for non-editing teachers in our system.
I svar til Oliver Smitkowski

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

ved 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.
Gennemsnitsbedømmelse:Useful (1)
I svar til Oliver Smitkowski

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

ved Helen Foster -
Billede af Core developers Billede af Documentation writers Billede af Moodle HQ Billede af Particularly helpful Moodlers Billede af Plugin developers Billede af Testers Billede af Translators

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.

I svar til Oliver Smitkowski

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

ved Tim Hunt -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
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.
Gennemsnitsbedømmelse:Useful (1)