empiricaly / meteor-empirica-core

Core Meteor package for the experiment Empirica platform. This is where you should submit issues.
MIT License
27 stars 13 forks source link

New Player form hangs #225

Closed npaton closed 3 years ago

npaton commented 3 years ago

Submitting the player form hangs, nothing happens.

Expected Behavior

The player should go to the intro steps.

Current Behavior

Nothing happens. Looking at the websocket, the createNewPlayer rpc is sent, and the player gets created in the DB, but then the playerInfo subscription never updates with the player info.

Possible Solution

I suspect the initial lobby/batch assignment (after player creation, still inside createNewPlayer) is blocked in the case described here:

In my admin panel I had a batch that had two games. One was “finished” the other one was “lobby cancelled”. For some reason, the status of this batch was “running”. When I cancelled this batch, it seems to work properly now.

Steps to Reproduce (for bugs)

  1. Let a batch have a lobby cancelled (timeout) and no other games, I think