Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Failed to redirect to a game after accepting an invitation #2012

Open
levsimha opened this issue Nov 27, 2024 · 3 comments
Open

Bug: Failed to redirect to a game after accepting an invitation #2012

levsimha opened this issue Nov 27, 2024 · 3 comments
Labels

Comments

@levsimha
Copy link

levsimha commented Nov 27, 2024

Summary

When accepting an invitation from a friend, the user fails to join the game, and an error message is displayed

Screenshot 2024-11-27 at 4 09 58 PM

Environment

OS: MacOS 14.7 (23H124)
Browser: Chrome 131.0.6778.86 (Official Build) (arm64)
Codebattle version: bb44a99

Reproduction steps

1. Sign in
2. Click on the crossed swords icon at the top of the page
3. Click the "Accept" button

Expected result

A user is redirected to the game

Actual result

An error page is displayed with the following message:
SOMETHING_WENT_WRONG, reason: %ArgumentError{message: "errors were found at the given arguments:\n\n * 1st argument: not a textual representation of an integer\n"}

@levsimha levsimha added the bug label Nov 27, 2024
@Tixon228
Copy link

Tixon228 commented Nov 30, 2024

Bug Summary:
After accepting a game invitation from another player, an error occurs for both users.

Yandex:
image
Chrome:
image

Steps to Reproduce the Bug:

  • Click on the sword icon and select the nickname of the player to send an invitation to, or click on an online player and choose "Send an invite."
  • The second player accepts the invitation.

Environment Details:
OS: Windows 10 Home and Android 14
Browser: Chrome 131.0.6778.81 (official build) and Yandex 24.10.4.756 (64-bit)
Codebattle Version: [bb44a99]

Expected Result:
The game starts, and both players are redirected to the code editor.

Actual Result:
An error page opens.

@LuckyStrike34R
Copy link

2024-12-05_12-37-53
Environment:
OS: Windows 10 Pro (22h2)
Browser: Yandex Browser 24.10.4.756 (64-bit)
Codebattle version: 6f0737f
Reproduction steps

  1. Sign in
  2. Click on the crossed swords icon at the top of the page
  3. Click the "Accept" button

@ddrsn
Copy link

ddrsn commented Dec 6, 2024

Summary

Redirection to an error page after accepting game invitation from another user.

Environment

OS: Windows 10 Pro, Android 13
Browser: Chrome 131.0.6778.82
Codebattle version: [6f0737f]
pic_8 accepting invitation game page
pic_9 accepting invitation lobby

Reproduction steps

  1. After authorization click “Create a game” on the main page
  2. Choose game type “With a friend”
  3. Choose a user and send an invitation
  4. Wait until the invitation is accepted

Expected result

User is automatically redirected to the game page after accepting the invitation

Actual result

Redirection to the error page. If press backspace, the game is shown in current games right now (pic_8, pic_9)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants