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

Comments

bisw created an issue. See original summary.

bisw’s picture

bisw’s picture

StatusFileSize
new328 bytes
bisw’s picture

Status: Active » Needs review
bisw’s picture

Priority: Major » Normal
StatusFileSize
new388 bytes

@3 patch is not applying, so creating new one.

g_miric’s picture

Status: Needs review » Reviewed & tested by the community

Works fine.

vacho’s picture

StatusFileSize
new393 bytes

patch rebased.

  • murilohp committed 0cf35459 on 2.x authored by vacho
    Issue #3227796 by bisw, vacho, g_miric: MenuLinkContent error during...
murilohp’s picture

Status: Reviewed & tested by the community » Fixed

Commited on 2.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.