DEV Community

Cover image for Drupal Entity view display problem solved
Maygen
Maygen

Posted on

Drupal Entity view display problem solved

Problem/Motivation
After doing a recent installation of Drupal 9.4.5, we came across the following problem and error message when browsing.

After doing an initial investigation, an error message would appear.

It would seem a lot of this code relates to issue on Drupal.org: #2562107-77: EntityDisplayBase should react on removal of its components dependencies.

From a logic perspective it certainly makes sense to allow the default comment formatter, and Plugins in general to react to configuration changes on Entity Displays.

Work-around/Temporary solution
Note the problem can be fixed temporarily by removing the config dependency either programmatically, or by importing the modified config through the backend.

Lastly, since we're really unsure how to approach the problem and the config dependency system seems to have a lot of moving parts, we found the following issues that could potentially be related or where some work is carried around Plugins.'

This is a quick summary of the work David @ Code Enigma did. Read the full post on Drupal.org.

Top comments (0)