Quantcast
Viewing all articles
Browse latest Browse all 294402

comment.type.comment.yml has an undeclared dependency on node.module

Problem/Motivation

The comment.type.comment.yml config which is shipped with the standard profile has an undeclared dependency on node.module.

How to reproduce

  1. Install Drupal with the Standard profile.
  2. Head over to /admin/modules/uninstall.
  3. Uninstall the History and Taxonomy modules.
  4. Uninstall the Node module.
  5. Visit /admin/structure/comment/manage/comment/delete.

You should see PluginNotFoundException: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "node" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition()

Proposed resolution

Add a dependency on the node module

Remaining tasks

  1. Write test to confirm bug.
  2. Patch.

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 294402

Trending Articles



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