Irrelevant usage results

Created on 27 August 2024, 6 months ago

Hi,

I use this module to know where medias (images, videos) are used in my website's content.

Some media usages are irrelevant:
- some content appears for a media, in which the media is not used
- some medias don't display usages while they are used
- some paragraphs appears 2 times while there is only one usage

These are my settings, maybe that is the reason why.

Many thanks for any help!

****************************

Enabled local tasks

Local task entity types
Média

Enabled source entity types

Source entity types
Média

Enabled target entity types

Target entity types (which contains nodes, paragraphs, custom entities, config pages and taxonomy terms...)
Accueil
Activité
Bloc
Carrousel Home
Champ
Chiffre Clé
Config page
Contact
Contenu
Elu
Etape
Fiche Contact
Fiche Contact type
Landing
Paragraphe
Question Reponse
Rendez-Vous
Slider Image
Terme de taxonomie
Vignette Lien
Volet

Enabled tracking plugins

Tracking plugins
LinkIt
CKEditor Image
Entity Embed
Dynamic Entity Reference
Block Field
HTML links
Entity Reference
Layout builder
Link Fields
Media WYSIWYG Embed (Core)

🐛 Bug report
Status

Active

Component

Code

Created by

🇫🇷France lor

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

Comments & Activities

  • Issue created by @lor
  • 🇺🇸United States mortona2k Seattle

    On a fresh install, a file uploaded as a media item reports that it has 2 usages by that media item.

    How is this being calculated?

  • 🇪🇸Spain marcoscano Barcelona, Spain

    On a fresh install, a file uploaded as an Image media item reports that it has 2 usages by that media item

    This sounds like a bug. Could you please try with the latest -dev, and indicate steps to replicate the problem on a fresh install?

    Thanks,

  • 🇺🇸United States mortona2k Seattle

    Actually, this is happening with core. I don't think it's related to this module.

    Install a fresh site with the standard profile.

    Create Image/Document media items.

    Go to Content > Files.

    Uploaded image file shows 2 uses, document shows 1.

  • 🇪🇸Spain marcoscano Barcelona, Spain

    Yeah the content -> files list isn't something provided by this module. I'm closing this out for the time being, but feel free to re-open if you see that there is unexpected behavior in the functionality provided by entity_usage.

Production build 0.71.5 2024