Address LogicException being thrown on non-fieldable entities

Created on 19 April 2023, over 1 year ago
Updated 28 August 2024, 4 months ago

Problem/Motivation

The πŸ› Batch worker initial entity ID to be aware of ID type Fixed fix introduced a bug where an exception is thrown if the source entity type is not a Fieldable entity. e.g. Webform, or Taxonomy Vocabulary.

See https://git.drupalcode.org/project/drupal/-/blob/5b84c092/core/lib/Drupa...

Steps to reproduce

Enable "Webform" or "Taxonomy vocabulary" as Enabled Source Entity Types. Then attempt to recreate the usage statistics.

Then the page should throw the logic exception.

Proposed resolution

Add appropriate error handling for the content type.

Remaining tasks

Provide issue fork/patch.

User interface changes

N/A

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024