Plugin ID clash with File Entity "file_download_link"

Created on 7 April 2020, over 4 years ago
Updated 11 July 2024, 6 months ago

Problem

The plugin id used by the File Download Link formatter is the same id used by the file entity module's "Download Link" formatter. This causes some installations using both this module, and File Entity to end up using File Entity's formatter. Note that File Entity has been deprecated since it became the Media module in core. So this is unlikely to be an issue in sites created starting with Media, but any older sites, still in the process of migrating to Media are likely to encounter this problem.

Solution

The patch in this issue sets the plugin id to the File Download Link formatter to something else to avoid this conflict. Any sites using both this module, and File Entity will need to use this patch until they fully migrate from File Entity and uninstall that module.

Original title:

"Using file entity download link formatter when trying to use this formatter"

Original description:

In my site, I have a Paragraph type with a Media reference field. I'm trying to use the formatter supplied by this module, but when I select "File Download Link", enter custom link text (e.g. Download Blah), It still uses the default file entity Download Link fomatter, with the default settings, which renders as "Download [filename] (XXX.XX KB)".

Is there a step to this I am missing?

πŸ› Bug report
Status

RTBC

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bburg Washington D.C.

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024