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

Mvvm Primary || If admin uploads an invalid file (where the file is image with extension is mp4 type ) indicates that it should be a supported file, but the file content is not valid -the content is added without any error. #770

Open
poojaustad opened this issue Dec 8, 2023 · 0 comments
Assignees
Labels

Comments

@poojaustad
Copy link
Collaborator

Describe the bug
If admin uploads an invalid file (where the file is image with extension is mp4 type ) indicates that it should be a supported file, but the file content is not valid -the content is added without any error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Library
  2. Click on Add content from files
  3. Select a image file where extension is .mp4
  4. Content added without any error

Expected behavior
If admin uploads an invalid file where the file extension / mime type indicate that it should be a supported file, but the file content is not valid (e.g. a file with the name video.mp4 that is not actually a video), then an error message will be displayed to notify that the content is invalid.

Screenshots
Screencast from 12-08-2023 11:47:52 AM.webm

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

No branches or pull requests

2 participants