Open source project to tackle the problem of long development cycles required to produce software to conduct multi-participant and real-time human experiments online.
The Clearing Players feature does not seem to work. When I try to clear players, even if there are open games with the same treatment conditions, they get stuck in an infinite loading screen.
I tried to debug this myself by manually setting gameID as undefined after the exit steps, and what happens is that players then get assigned to a new game, but they get stuck in a "Game loading - Please wait for the game to be ready." page. So, there must be something else that I am missing.
Steps To Reproduce
Create a batch of more than 1 game with the default template, and "Solo" treatment
Create a player and complete a game
Clear the player from the Admin UI
Empirica Version
Version: v1.8.0
SHA: 297d560
Branch: main
Time: 2023-09-16T08:00:40Z
What OS are you seeing the problem on?
Linux
What browser are you seeing the problem on?
Chrome
Relevant log output
No response
Anything else?
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Is there an existing issue for this?
What happened?
The Clearing Players feature does not seem to work. When I try to clear players, even if there are open games with the same treatment conditions, they get stuck in an infinite loading screen.
I suspect that this has to do with the fact that the
assignplayer
function checks forplayer.get("gameID")
to be undefined: https://github.com/empiricaly/empirica/blob/297d560424ab9a7ee8d53efabdfc09248e7ec271/lib/%40empirica/core/src/admin/classic/classic.ts#L74-L76 but the latter is not reset when pressing clear:https://github.com/empiricaly/empirica/blob/297d560424ab9a7ee8d53efabdfc09248e7ec271/lib/admin-ui/src/components/players/PlayerLine.svelte#L9-L16I tried to debug this myself by manually setting
gameID
as undefined after the exit steps, and what happens is that players then get assigned to a new game, but they get stuck in a "Game loading - Please wait for the game to be ready." page. So, there must be something else that I am missing.Steps To Reproduce
Clear
the player from the Admin UIEmpirica Version
What OS are you seeing the problem on?
Linux
What browser are you seeing the problem on?
Chrome
Relevant log output
No response
Anything else?
No response
Code of Conduct