Bug: Clan with empty name
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:
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
Browsers
Chrome
OS
Windows
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
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
- Sign in
- Click on your nickname
- Click on Clan in dropdown list
- Find clan without name
- 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
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:
- Click "Sign In"
- Click on your username
- Click "Clans"
- Find clan with an empty name
- 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
"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"}