You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to upload file that's too big I get error message "Filesize is too large, maximum 25 MB allowed" which is ok.
But if I try to replace existing file with a file (which is too big) Assets Admin shows me success message "Upload successful, the file will be replaced when you Save." although I can see in browsers network tab JSON response was: "{"status":"error","errors":[{"type":"error","code":400,"value":"Filesize is too large, maximum 25 MB allowed"}]}".
Assets Admin shouldn't show success message if upload was not successful. It should display error.
ACs
File too large error message shows when attempting to replace a file
Tested on SS 4.8.0 and on 4.9.0
If I try to upload file that's too big I get error message "Filesize is too large, maximum 25 MB allowed" which is ok.
But if I try to replace existing file with a file (which is too big) Assets Admin shows me success message "Upload successful, the file will be replaced when you Save." although I can see in browsers network tab JSON response was: "{"status":"error","errors":[{"type":"error","code":400,"value":"Filesize is too large, maximum 25 MB allowed"}]}".
Assets Admin shouldn't show success message if upload was not successful. It should display error.
ACs
PR
The text was updated successfully, but these errors were encountered: