MenuLinkContent error during installation

Created on 12 August 2021, over 3 years ago
Updated 22 June 2023, over 1 year ago

Problem/Motivation
If this module is enabled during site installation this error happens:

In EntityTypeRepository.php line 98:

The Drupal\menu_link_content\Entity\MenuLinkContent class does not correspond to an entity type.
This is due to the module not defining "menu_link_content" as a dependency.

To reproduce this issue, create a profile "config_install: true" in the profile info yaml and ensure this module is enabled on install, then run:

drush si myprofile

Proposed resolution
Add "menu_link_content" as a module dependency.

This is already fixed for 8-1.x branch but it is not available for 8.2.x branch https://www.drupal.org/project/gdpr_onetrust/issues/3055216

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India bisw New Delhi

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024