codebattle icon indicating copy to clipboard operation
codebattle copied to clipboard

Bug: Unable to join a friend's game by invitation

Open kostaleks opened this issue 11 months ago • 9 comments

Summary

It is impossible to accept an invitation to a game requirement: | The user can accept the invitation to play prerequisites: | User is authorized The user received an invitation from another player test-data: | no-data

Current version: c655ad4

Баг был открыт ранее, но уже закрыт: 2047

Reproduction steps

1. Click on the invite
2. Click accept

Expected result

The game begins

Actual result

Error 500. The game doesn't begin

Image Image Image

Browsers

Chrome

OS

Windows

kostaleks avatar Feb 19 '25 16:02 kostaleks

  • summary: | When accepting an invitation to the game from a friend, an error window opens environment: | Google Chrome Version 133.0.6943.142 (Official Build), (64 bit) Windows 11 Pro 24 H2 steps-to-reproduce: |
    1. Open the invitation window to the game
    2. Accept the invitation expected-result: > The game opens with a friend actual-result: > The 500 error window opens

Image

puma0050 avatar Mar 03 '25 17:03 puma0050

Summary

The error accures while accepting Invitation from Friend

Environment

  • Browser: Google Chrome Version 133.0.6943.142 (Official Build), 64 bit
  • Operating System: Windows 10 Pro 22 H2
  • site version

Steps to Reproduce

  1. Creat Invite to a friend
  2. Open the invitation from Friend's account
  3. Click Accept

Expected Result

The game opens with a friend.

Actual Result

The 500 error window opens.

Image

greatmorr avatar Mar 08 '25 15:03 greatmorr

Summary: The game starts with an invitation from another player with an error Environment: System:Windows 10 64-bit Opera version Chromium:131.0.6778.266 Google Chrome version 133.0.6943.99 (Official build), (64 bit) Firefox Windows MSIX package mozilla-MSIX-1.0 version 136.0 (64-bit) Steps-to-reproduce: 1. The user received an invitation to the game from another player 2. Accept the invitation with the «Accept» button Expected-result: A new game should open with the invited player. Actual-result: The error message SOMETHING_WENT_WRONG appears Current version: b6f5da5

Image

GoldDrakon avatar Mar 13 '25 18:03 GoldDrakon

summary: | The invitation cannot be accepted environment: | Yandex Browser Version 25.2.3.809 (64-bit) ОС Windows 11 steps-to-reproduce: |

  • Log in using any method
  • Press Create a game
  • Choose any difficulty, play with a friend, also choose a friend in the drop-down list
  • Press Create invite
  • To an account that was previously invited to log in
  • In the navigation menu, accept the invitation expected-result: | Invitation accepted, game started actual-result: | Nothing happens

KalinaElena avatar Mar 19 '25 09:03 KalinaElena

Summary:

It is not possible to accept/reject/cancel the invitation to the battle

Environment:

Chromium 138.0.7204.158 (Official build) (64 bit) Windows 24H2 OS

Steps-to-reproduce

  1. Log in to different profiles in two browsers
  2. Through the first profile, create a game with a friend's invitation
  3. Cancel the invitation via the "swords" icon in navbar
  4. From the second profile, accept the invitation via the "swords" icon in the navbar
  5. Decline a new invitation in navbar

Expected-result:

After accepting the invitation, the battle begins After both users reject or cancel the invitation, the notification disappears.

Actual-result:

All three accept/reject/cancel buttons are non-clickable, no action occurs when pressed.

Browsers

Chrome 138.0.7204.158 (Official build) (64 bit)

OS

Windows 11 24H2

Current version: 376ef8e

Alex-Kuzm avatar Jul 21 '25 10:07 Alex-Kuzm

Summary

Regardless of the browser used, it is not possible to accept the invitation to the game. Nothing happens and no request is sent to the server.

Version: 68f356b

Reproduction steps

1. Go to the main page https://codebattle.hexlet.io
2. Click ‘Create a game’
3. Select ‘Game Type’ - ‘With a friend’, then select the user you want to invite from the drop-down list
4. Try to accept the invitation on your friend's account in the notifications section in the project header.
Image

Expected result

You are being redirected to the match lobby upon invitation.

Actual result

After clicking ‘Accept’, nothing happens, the notification does not disappear, and the transition to the match lobby does not take place.

Image

Browsers

Chrome 139.0.7258.127/.128 Firefox 141

OS

Windows 10 22H2 19045.6093

vapavlenko avatar Sep 02 '25 13:09 vapavlenko

Summary: The ability to play with a friend does not work

Environment: Firefox 142.0.1 (64 bit) Windows 22H2 OS

Steps-to-reproduce:

  1. Open the website https://codebattle.hexlet.io / (Current version: 4df7e60)
  2. Click the "Sign in" button
  3. Enter the user's email in the "Email" window
  4. Enter the password in the "Password" window
  5. Click the "Submit" button
  6. Control the transition to the main page of the site under your account
  7. Click the button to create a battle "Create a battle"
  8. Control the opening of the "Create a game" window
  9. Click on the play with a friend button "With a friend"
  10. In the opponent's "Choose opponent" field, select the user
  11. Click on the “Create invite” button

Expected-result: The user successfully sends the link to a friend, after the friend clicks the "Accept" button, the game begins.

Actual-result: A friend cannot open the link, the "Accept" and "Decline" buttons do not function, and data is not being sent to the server.

Image

TasamayaNatalia avatar Oct 21 '25 19:10 TasamayaNatalia

Summary It is impossible to accept an invitation that was received from another player

Reproduction steps

  1. Go to main page https://codebattle.hexlet.io/
  2. Register with email
  3. Click on the invite that was received from another playe
  4. Click "accept"

Expected result The game begins

Actual result Button "accept" doesn’t work

Browsers Chrome 141.0.7390.123 (Официальная сборка) (x86_64)

**

Image

** Mac

Current version: 4df7e60 deployedAt UTC: 2025-10-29 12:48:32

Yuga-testing avatar Oct 29 '25 18:10 Yuga-testing

Summary:

It is impossible to accept an invitation to a game

Environment:

Chrome: 125.0.6422.76 ОС: Windows 10 22H2 19045.4412 Current version: 4df7e60

Steps-to-reproduce:

  1. Sign in into account A
  2. Send an invitation to a game to account B
  3. Sign in into account B
  4. Accept an invitation to a game

Expected-result:

The game begins

Actual-result:

After clicking "Accept", nothing happens

BTJulia avatar Nov 12 '25 14:11 BTJulia