Open mirabelrice opened 7 years ago
For some reason the error is no longer reproducible on local, staging, or production. Users are able to upload background videos with no error. Tested with original problem video as well as another video. However, bugsnag is still reporting an error whenever a video is uploaded. The error seems to occur in the following method:
Although there is a validate_video_file
method in slide.rb
, it is for some reason using the validate_image_file
method instead which may be causing the error
Reported by Meagan O'Shea
When creating a slide and using the video background option on the digital signage, the system is not allowing the file to be uploaded. it is causing the generic error message when the final submit is pushed. Works for foreground videos but not background.
Story: https://trello.com/c/v4ekrbK8/359-defect-on-digital-signage-when-loading-a-video-to-the-background-the-file-upload-triggers-an-error-message
Bugsnag Report: https://app.bugsnag.com/chapman-university/signage/errors/58d1880d4f1bb51700fc0fd6?filters%5Bevent.since%5D%5B%5D=30d&filters%5Berror.status%5D%5B%5D=open