Ignore not fieldable entity types

Created on 15 May 2024, 7 months ago
Updated 16 May 2024, 7 months ago

Problem/Motivation

Otherwise EntityFieldManager will throw an exception, like Getting the base fields is not supported for entity type Drupal Symfony Mailer Lite Transport for Drupal Symfony Mailer Lite module.

Steps to reproduce

  • install both modules
  • try to run drush updb or navigate to the /admin/reports/status

Proposed resolution

Check if any type in question is fieldable before trying to get base field definitions for it in schema_diff_requirements().

Remaining tasks

  • merge request
  • review
  • commit
🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

🇳🇿New Zealand RoSk0 Wellington

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

Comments & Activities

  • Issue created by @RoSk0
  • Status changed to Closed: cannot reproduce 7 months ago
  • 🇳🇿New Zealand RoSk0 Wellington

    Hm, it looks like there was something wrong with my set up - symfony_mailer_lite_transport entity type was marked as not installed despite the fact that module was enabled. Not sure how that happen, but that is surely not this module fault or problem.

    Ignore this and sorry for the noise.

Production build 0.71.5 2024