$findVariablePartner() does not retrieve correct values after regrouping

6 views
Skip to first unread message

Simon Müller

unread,
Sep 29, 2024, 6:52:06 AM9/29/24
to classEx - Help and Discussion Forum
Hello,

$findVariablePartner() does not retrieve correct values after regrouping participants using $resetGroupNr() on the participants side.

Checking the participants $group variable does show the correct new group and also when calling $getGroups() on the lecturers side, it correctly displays the newly created groups.

When calling  $findVariablePartner() it seems to just randomly select any dummy value from a random participant even though they do have a partner in their group.

It also behaves like this for players which are alone in a group and even though the $no_decision parameter is set to some value other than null.

You can find the specific example in the repository under the name "Partnerprogramm Eiwiwi WS 24/25".

I am thankful for any help.

Kind regards

Simon
Reply all
Reply to author
Forward
0 new messages