ita-social-projects / EPlast

EPlast is a project to provide web-based multi-user system solutions for digitizing and automate the Plast organization. The system makes it easy to access Plast's internal data, such as events, reports, and documents, etc. Information and location of their affiliates and clubs throughout Ukraine.
MIT License
27 stars 11 forks source link

[Profile photo] Missing default_user_image and error while adding personal photo #2900

Closed NataliyaDominyuk closed 2 years ago

NataliyaDominyuk commented 2 years ago

Environment: Mac OS Monterey 12.6, Google Chrome version 105.0.5195.125 (Official Build) (arm64) Reproducible: always Build found: 9e7bc1b6917aa89785693d20de85ba00f11c2003 Priority: medium Severity: medium

Steps to reproduce

  1. Sign in as as any user (https://eplast.westeurope.cloudapp.azure.com/signin)
  2. Check Crome DevTools

Actual result default_user_image isn't loaded and 500 error appears (request has no response data available)

Expected result default_user_image should be loaded

AND

Steps to reproduce

  1. Press "Edit profile" (Редагувати профіль) button
  2. Press "Choose" (вибрати) button under the default image
  3. Add your personal photo and press "Ok" (Гаразд) button
  4. Press "Підтвердити" button and check the notification message

Actual result Personal image isn't uploaded. Error message "Щось пішло не так. Спробуйте ще раз" appears. Chrome DevTools shows 400 error (Bad request)

Expected result Personal image should be uploaded without errors and error messages

default image missing