Skip to content

User: not clear what type of files are accepted as attachments in a global suggestion #114

Description

@martanducas

Describe the bug
When I try to upload a *.mov file, I get the following information: "File only files with the following extensions are allowed: bmp, gif, jpeg, jpg, pdf, png, rtf, txt". But when I try to upload a JPG or PNG file, I get a validation error: "File is invalid".

To Reproduce

  1. Try to attach a JPG or PNG file to a global suggestion

Expected behavior
It is not clear what type of files are accepted. And the validation message is not consistent with the behaviour.

Screenshots
https://github.com/openpoke/decidim-module-participatory-documents/assets/72607737/b7784cd5-9e7a-4674-ba18-1167d4429e6c

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions