hexlet-codebattle / codebattle

Codebattle - Game for programmers, where you solved algorithmic problems with other players in real time. You can fight with other players in single player mode or join massive tournaments.
https://codebattle.hexlet.io/
591 stars 208 forks source link

Bug: The "Standard" sound is not saved #1960

Open kideki-kideki opened 2 months ago

kideki-kideki commented 2 months ago

Summary

The "Standard" sound is not saved when you change it

Reproduction steps

1. Open the home page
2. Press the ‘Sign In’ button
3. Enter authorisation data ( email = testing_01@mail.ru password = 123456)
4. Click the ‘Submit’ button
5. Click on the nickname (igrok_01) at the top of the page
6. Click the ‘Settings’ button
7. Select ‘Standard’ in the ‘Sound Type Selection’ section
8. Click the ‘Save’ button
9. Refresh the browser page

Expected result

The "Standard" sound is saved

Actual result

The ‘Standard’ sound is not saved 1

Browsers

Microsoft Edge

OS

Windows

Daryais commented 2 months ago

Выбор звука Standard не сохраняется, надпись об успешном сохранении не появляется

https://github.com/user-attachments/assets/f1a97841-6c29-429d-a019-779903ded802

environment: Яндекс.Браузер Версия 24.4.5.506 (64-bit), Google Chrome Версия 127.0.6533.101 (Официальная сборка), (x86_64) macOS Monterey Версия 12.7 [Current version: [8a20565]]

steps:

  1. Перейти в Settings
  2. Выбрать тип звука Standard
  3. Нажать Save
  4. Обновить страницу

expected-result: Выбор звука Standard сохранен

actual-result: Выбор звука Standard не сохраняется, надпись об успешном сохранении не появляется

rikoshet437 commented 4 weeks ago

Summary: Settings don't save if u choose "Standart" sound.

Environment: Windows 11 Home 23H2 22631.4317 Google Chrome v130.0.6723.59 (64-bit) Firefox 131.0.3 (64-bit) Current site version: 1c3e2ba

Reproduction steps:

  1. Sign in
  2. Click on your nickname at the top of the page
  3. Click the "Settings" button
  4. Choose "Standart" in "Select sound type" section
  5. Press "Save" button

Expected result: Setting are saved, selected sound is "standart" and remains so on page reload

Actual result: Setting are NOT saved, there is error 422(Unprocessable Content) in "Network" tab in DevTools

https://github.com/user-attachments/assets/e54dacf0-cdc5-4804-be7e-f589f7193d45