Industrial-Parasite / issues

A repo for reporting issues with Industrial Parasite Apps
0 stars 0 forks source link

[BUG] No Error Message for Oversized Avatar Uploads #1

Closed Klastic closed 6 months ago

Klastic commented 6 months ago

Describe the bug

When users attempt to upload an avatar image that exceeds the file size limit (5MB), the system fails to display an error message or any indication that the upload was unsuccessful due to file size constraints. This results in confusion as the page simply reloads without updating the avatar or providing feedback.

To Reproduce

Steps to reproduce the behavior:

  1. Log in to the application.
  2. Navigate to the Settings page.
  3. Under the "Profile" section, click on the "Upload Avatar" button.
  4. Select an image file larger than 5MB from the file picker.
  5. Attempt to upload the selected image.

Expected behavior

The application should validate the file size before attempting to upload and display an error message to the user if the file exceeds the 5MB limit, such as "Upload failed: Image size exceeds the 5MB limit."

Screenshots

N/A

Environment (please complete the following information):

Additional context

This issue has been reported by IDecade.

Klastic commented 6 months ago

After thorough testing and attempts to reproduce the reported issue, I was unable to encounter the described behavior regarding avatar uploads exceeding the 5MB file size limit. Our current setup appears to correctly handle and reject oversized files, providing the appropriate error feedback to the user.

Given this, I'm closing this issue for now. However, we understand that inconsistencies can occur across different environments or under specific conditions not covered in our tests. If anyone experiences this issue again, please reopen this ticket with additional details, such as the exact steps taken, any error messages seen in the console, and the file type being uploaded. This information will be crucial for us to further investigate and ensure a seamless user experience for everyone on the platform.

Environment re-tested:

OS: Win 11 Browser: Brave

We appreciate your understanding and cooperation. Thank you, IDecade, for bringing this to our attention. Your feedback helps us improve continuously.