Skip to content

Error doesn't display for community logo upload size > 5MB #1293

@fenekku

Description

@fenekku

Package version (if known): Invenio-app-rdm 12.0.18 (invenio-communities 13.0.11)

Describe the bug

When uploading a community logo picture greater than 5MB, the error message is not displayed at all.
However when uploading a community logo picture 1MB < X < 5MB, the error message is shown.

The JS dev console error is:

Image

Steps to Reproduce

  1. Go to /communities/<slug>/settings
  2. Click on 'Upload new picture' and select a file > 5MB
  3. See no UI error, but see in the developer console the error.

Expected behavior

Like when 1MB < X < 5MB

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions