- 🇺🇸United States jennypanighetti
I get the same thing trying to uninstall our multilingual modules (i.e. 'content_translation').
It's completely blocking.
- 🇺🇸United States jennypanighetti
Here's the full output stack.
LogicException: Missing bundle entity, entity type menu, entity id menu_link_content. in Drupal\Core\Entity\EntityType->getBundleConfigDependency() (line 879 of core/lib/Drupal/Core/Entity/EntityType.php). Drupal\language\Entity\ContentLanguageSettings->calculateDependencies() (Line: 362) Drupal\Core\Config\ConfigManager->getConfigEntitiesToChangeOnDependencyRemoval('module', Array) (Line: 43) Drupal\system\Form\ModulesUninstallConfirmForm->addDependencyListsToForm(Array, 'module', Array, Object, Object) (Line: 160) Drupal\system\Form\ModulesUninstallConfirmForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 534) Drupal\Core\Form\FormBuilder->retrieveForm('system_modules_uninstall_confirm_form', Object) (Line: 281) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 713) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- Assigned to voleger
- Status changed to Needs work
almost 2 years ago 7:40pm 1 February 2023 - Status changed to Postponed: needs info
almost 2 years ago 4:54am 2 February 2023 - 🇦🇺Australia VladimirAus Brisbane, Australia
I cannot reproduce the issue on Drupal 9.5 or 10.0. Here's what I did:
- I installed and enabled module
- I modified couple of menu items
- I exported the config
- Uninstalled and reenabled the module, repeated above process.
There was no error messages.
Please update the description and put the steps to reproduce. - 🇮🇳India shree.yesare
Steps to reproduce
- Create a Drupal 10 project with acquia/blt
- Update the blt.yml and set the profile to standard.
profile: name: standard
- Edit the standard profile and add menu_item_extras under the install section in standard.info.yml
- run blt setup
- 🇩🇪Germany lmoeni
I recently ran into this issue while installing the domain_menu_access module.
This does not happen when the menu_item_extras module is not installed.I'm using the following versions:
Drupal: 10.2.7
Menu Item Extras: 3.0.2
Domain Menu Access: 2.0.0 - 🇺🇦Ukraine voleger Ukraine, Rivne
I suggest creating an issue to domain_menu_access to support menu_item_extras during installation. There is no `menu_link_content` bundle for the `menu_link_content` entity on the project with the enabled `menu_item_extras` module.
See the problematic line in hook_install implementation of `domain_menu_access` module: https://git.drupalcode.org/project/domain_menu_access/-/blob/2.0.x/domai...