Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The issue is as described in the title, to reproduce, edit a file style, and under the "youtube" tab, selected a linked image preset as the display style. You will then see that the image is linked to http://example.com/media/. This gives a 404, as the relevant menu hook item was removed from the media module in version 2.x.
Comment | File | Size | Author |
---|---|---|---|
#1 | link_to_file-1371208-1.patch | 813 bytes | acrollet |
Comments
Comment #1
acrollet CreditAttribution: acrollet commentedPatch attached. The methodology for getting the major version number of the media module is somewhat naïve, but should suffice.
Comment #2
damontgomery CreditAttribution: damontgomery commentedSee #1414016: Media 2.x uses file entity and therefore file/[fid] URLs