-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Video content types not working since 1.3.1 #293
Comments
Hi @iainbeeston, |
Incoming bugfix release in the next hours/tomorrow to definitely fix this issue => we do not perform the extension vs content_type that causes this mess. Sorry for the unexpected breaking changes, it should have been tested more. Let us know if you have any features idea to enhance the gem by the way :) |
@Mth0158 Great, thanks. Could you include the test from master...iainbeeston:active_storage_validations:validate-video-attachments in your fix? That reproduces the issue I'm seeing and should help prevent it happening again |
Of course, here it is, #297, it will be released in the same fix |
The fix has been released, upgrade to 1.3.4 to fix the issue :) |
@Mth0158 It works for me! Thank you so much for all the work over the last few days to fix bugs |
Since 1.3.1 I've had issues with validating the content type of videos (I originally mentioned this in #280 but that issue has been closed). I haven't been able to tell what is causing the issue but I have been able to reproduce in a test: cf953b31fbb5f053234852fe2b827d767abed80c. The test passes on 1.3.0 and earlier, but fails on 1.3.1+ (including 1.3.3) with the validation error:
"Video has an invalid content type"
The text was updated successfully, but these errors were encountered: