\Drupal\entity_usage_updater\EntityUsageUpdater::getHostEntities() expects all ERR fields to be on revisionable entities

Created on 4 December 2024, 4 months ago

Problem/Motivation

The module is broken if the user entity has an entity reference revision field (ie. a paragraph) because \Drupal\entity_usage_updater\EntityUsageUpdater::getHostEntities() assumes all entity types with ERR fields are revisionable and the user entity is not.

Steps to reproduce

Add a paragraph field to the user entity.

Proposed resolution

Fix the code.

Remaining tasks

User interface changes

None

API changes

TBD

Data model changes

None

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024