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

Wrong validation message displayed in attachment files #13

Open
AgriyaDev4 opened this issue Jan 8, 2019 · 0 comments
Open

Wrong validation message displayed in attachment files #13

AgriyaDev4 opened this issue Jan 8, 2019 · 0 comments

Comments

@AgriyaDev4
Copy link

Describe the bug
Wrong validation message displayed in attachment files

http://getlancer-bidding.demo.agriya.com/projects/add
http://getlancer-bidding.demo.agriya.com/projects/view/25/project-for-testing-purpose?action=files

To Reproduce
Steps to reproduce the behavior:

  1. Log in as an employer.
  2. Go to post a project and click upload files.
  3. We uploaded "0 MB and more than 2 MB size" file, "File couldn't be uploaded. Allowed extensions: pdf,doc,docx,png,jpeg,csv" validation message displayed.
  4. It's wrong. It should display the proper validation message about size. Not a file extension.

Expected behavior
When we upload "0 MB and more than 2 MB size" file, should display proper validation message about file sizes.

Screenshots
If applicable, add screenshots to help explain your problem.
file_extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant