Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293279

BundleClassInheritanceException incorrectly thrown when a bundle class does not exist

$
0
0

Problem/Motivation

If a bundle class does not exist, the exception message does not correctly explain the problem:

> Bundle class Drupal\fo\Entity\Bundle\Foo does not extend entity class Drupal\media\Entity\Media.

when in fact the problem is that the class doesn't exist at all.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293279

Trending Articles