Shape matching fails on `file` field instances targeting multiple MIME media types (multiple "MIME wildcards")
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3549034. --> Reported by: [hooroomoo](https://www.drupal.org/user/3688872) Related to !170 >>> <h3 id="overview">Overview</h3> <p>To reproduce:</p> <p>1. Add media field to any bundle (e.g. article), and pick &gt;=1 media type, but make one of them use the "File" MediaSource (in Standard: the "Document" media type)<br> 2. Create a template for an article<br> 3. Add the Card SDC or all-props SDC (I think it has to be a component with an image prop or something that media to be linked to)<br> 4. Select the component<br> 5. 500 error in component instance form</p> <p><img src="https://www.drupal.org/files/issues/2025-09-26/Screenshot%202025-09-26%20at%205.11.33%E2%80%AFPM.png" alt="sc"></p> <p><img src="https://www.drupal.org/files/issues/2025-09-26/Screenshot%202025-09-26%20at%205.13.22%E2%80%AFPM.png" alt="sc2"></p> <h3 id="proposed-resolution">Proposed resolution</h3> <h3 id="ui-changes">User interface changes</h3> > Related issue: [Issue #3524130](https://www.drupal.org/node/3524130) > Related issue: [Issue #3541000](https://www.drupal.org/node/3541000)
issue