Closed (fixed)
Project:
Drupal core
Version:
9.5.x-dev
Component:
file system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Feb 2023 at 10:51 UTC
Updated:
17 Apr 2023 at 07:09 UTC
Jump to comment: Most recent
Comments
Comment #2
mfbAdding steps to reproduce
Comment #3
smustgrave commentedCould we add a simple test case for this? Not sure if there is one that could be expanded?
Comment #4
danielvezaThis is a tricky one to decide tests for. We don't have any tests for the
ExtensionMimeGuesserthat I can see.We do have a test for the Audio Media source with
MediaSourceAudioVideoTest, but.m4afiles aren't even part of the default configuration of an audio field.I'm also not sure how far down the track we want to go with this. Do we add
ExtensionMimeGuessertests adhoc as issues come up? There is 350+ extensions in that list.Verified that the code is correct, and the links above do suggest to that
audio/mp4is the correct mime form4afiles.I'd be happy to RTBC this one, but I'll move it to review for other thoughts around tests
Comment #5
mfbcan add whatever kind of test is helpful, but generally we just fix the mapping bug without a test, see e.g. #3136196: Add support for .FLAC, .OPUS and .AAC audio type of file with HTML 5 audio player
Comment #6
smustgrave commentedThank you for sharing that. If this is something we don't test won't hold this up.
Comment #8
mfbUnrelated failure
Comment #10
mfbYet another unrelated failure
Comment #12
smustgrave commentedRandom failure.
Comment #14
smustgrave commentedComment #15
larowlanCommitted to 10.1.x and backported to 10.0.x and 9.5.x
Thanks folks!