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

Comment bundle entity fields exception

$
0
0

Problem/Motivation

$this->renderer->addCacheableDependency($form, $field_definition->getConfig($entity->bundle())); is called from CommentForm. Because bundle entity fields (defined via code) are not config backed (or currently in 8.8 support overrides), this leads to throwing \Exception('Field definitions do not currently have an override config entity.')

Proposed resolution

instanceof check the field definition.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 295724

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>