silverstripe / silverstripe-asset-admin

Silverstripe assets gallery for asset management
BSD 3-Clause "New" or "Revised" License
19 stars 78 forks source link

Missing error message in table view #1356

Open sb-relaxt-at opened 1 year ago

sb-relaxt-at commented 1 year ago

When uploading a file with a wrong file extensions there is no error message. It seems as if the file has been uploaded successfully:

image

After reloading the page, the video vanishes.

This is the response received:

image

We had a mov/Quicktime file that has been renamed by a user to ".mp4" prior uploading.

Tested using silverstripe/asset-admin: 1.12.0

maxime-rainville commented 1 year ago

If you are uploading the file in the "Grid view". The error gets displayed in the grid directly.

image

However, when you are in the "table view", that scenario is not handled.