codebattle icon indicating copy to clipboard operation
codebattle copied to clipboard

Bug: Clan with empty name

Open temuryqudrat opened this issue 9 months ago • 3 comments

Summary

In the "clans" list there are clans without name. If client tries to open it with "Show" button, he receives error 500 Current version: 9425fb5 Screenshot with that kind of clans:

Image

Reproduction steps

1. Sign in
2. Click profile
3. Open "Clan"
4. Find clan without name
5. Click "Show" that clan

Expected result

Opens page with information about that clan

Actual result

Opens page with error "SOMETHING_WENT_WRONG, reason: %ArgumentError{message: "construction of binary failed: segment 1 of type 'binary': expected a binary but got: nil"}" . Screenshot of the error Image

Browsers

Chrome

OS

Windows

temuryqudrat avatar Apr 08 '25 18:04 temuryqudrat

Resume Error when viewing information about the clan

Stages of reproduction

Log in to your account Click on your nickname in the upper right corner We suggest you choose "Clans" to find a clan with an empty name. Click the "Show" button

Expected result Information about the clan appears

The actual result Opens a page labeled "SOMETHING_WENT_WRONG", reason: %ArgumentError{message: "Binary file construction error: segment 1 of type 'binary': expected to receive a binary file, but received: zero"}".

os Windows 11 Home 23 H2 22631.4890

Image

Image

yfcnirf avatar Apr 10 '25 14:04 yfcnirf

Bug: Error 500 when opening a clan card with an empty name

Summary When viewing a clan with an empty name, an error appears.

Reproduction steps

  1. Sign in
  2. Click on your nickname
  3. Click on Clan in dropdown list
  4. Find clan without name
  5. Click on Show

Expected result Opens page with information about that clan

Actual result Opens page with error "SOMETHING_WENT_WRONG, reason: %ArgumentError{message: "construction of binary failed: segment 1 of type 'binary': expected a binary but got: nil"}" . DevTools: 500 (Internal Server Error)

Browser: Google Chrome Версия 135 (Официальная сборка), (64 бит) ОS: Windows 10

Persifona avatar May 27 '25 20:05 Persifona

Summary:

When opening a clan details card form a clan with an empty name, an error appears

Environment:

Chrome: 125.0.6422.76 ОС: Windows 10 22H2 19045.4412 Current version: https://github.com/hexlet-codebattle/codebattle/commit/4df7e60be39e67d283db40cdaa37f148718d2837

Steps-to-reproduce:

  1. Click "Sign In"
  2. Click on your username
  3. Click "Clans"
  4. Find clan with an empty name
  5. Click "Show"

Expected-result:

All clans have names filled in. "Show" button lets you view clan details card

Actual-result:

Some clans don't have names filled in

Image

"Show" button opens page with error:

SOMETHING_WENT_WRONG, reason: %ArgumentError{message: "construction of binary failed: segment 1 of type 'binary': expected a binary but got: nil"}

Image

BTJulia avatar Nov 12 '25 15:11 BTJulia