edosdigital / issues

Issue tracker repo
0 stars 0 forks source link

[Bug] Team registration - Team still able to register to team tournament even if a member is part of a team already registered to the same tournament #197

Open EJNiones opened 5 months ago

EJNiones commented 5 months ago

Describe the bug Teams are still able to successfully register to a team tournament even if one of its members is part of an already registered team.

To Reproduce Steps to reproduce the behavior:

  1. Prepare to 2 teams to register to team tournament. Make sure at least one member is part of both teams
  2. Register team one. Make sure the member that is part of team two is part of the roster.
  3. Register team two and include the member that is part of team one
  4. A error message will show up showing a member is already part of registered team
  5. Refresh page and check if team two is now registered to the team tournament

Expected behavior During registration phase, gray out or hide members that are already registered to the team tournament but with a different team

Priority

Tag the priority on the right -> Please only use High when it's actually high

Screenshots https://gyazo.com/8d83c665035f4275f691a1a87165ad3c

https://gyazo.com/2095ebbbea9bccc6c67222448f16f09a

https://gyazo.com/27a2e0c18ca7de5b6c46bdeb0c910954

Tournament URL/ID

https://battle.staging.gosugamers.net/tournament/4zbrtr4xsqb0a6ntxj07r9ngnp

Tournament Type

If it is a tournament relation issue choose the tournament type on the right ->

Additional context This issue was fixed before but reemerge due to latest update to teams.

EJNiones commented 4 months ago

Still able to register even if the warning notification appeared on the bottom left of the screen:

https://gyazo.com/8ea06ef65fd869f3606b7075277d7ee7