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

500 error message if clicking the "Upload" button when chaning a group avatar without having any image file selected for upload #2021

Open
emilghittasv opened this issue Oct 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@emilghittasv
Copy link
Collaborator

Preconditions
Sign in with an admin account.

Steps to reproduce
Steps to reproduce the behavior:

  1. Go to https://support.allizom.org/en-US/groups/
  2. Select a random group from the list.
  3. Click on the "Change" button under the default group avatar.
  4. Upload an image.
  5. Click on the "Change" option under the newly uploaded image.
  6. Click on the "Upload" button.

Expected behavior
Nothing happens since no files were selected via the file picker (or the Upload button is disabled in this case).

Actual behavior
500 error with FileNotFoundError

Screencasts
upload 500

Desktop:

  • OS: Windows 11
  • Browser: Firefox

Additional context
Sentry fires https://mozilla.sentry.io/issues/6029282387/?project=4504326797197312&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&statsPeriod=1h&stream_index=0

@emilghittasv emilghittasv added the bug Something isn't working label Oct 30, 2024
@emilghittasv
Copy link
Collaborator Author

Bug fix candidate for current sprint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🗄 backlog
Development

No branches or pull requests

1 participant