- Merge request !2Issue #3257557: "The default OG membership type cannot be deleted" on uninstall β (Merged) created by rsych
- πΊπΈUnited States astringer
Confirming that I got nothing but a WSOD installing on 9.5.1. And the patch in #6 worked for me.
Can we please get this patch merged. It would be nice to be able to test this on an install, to see where OG is at and not have the hassle of it refusing to uninstall.
- π§π·Brazil barone Belo Horizonte
Confirming I just had this issue uninstalling the latest OG version, 8.x-1.0-alpha10 and Drupal 10.1.4. Here's the complete error message:
The website encountered an unexpected error. Please try again later. Exception: The default OG membership type cannot be deleted. in Drupal\og\Entity\OgMembershipType->delete() (line 105 of modules/contrib/og/src/Entity/OgMembershipType.php). Drupal\Core\Config\ConfigManager->uninstall('module', 'og') (Line: 470) Drupal\Core\Extension\ModuleInstaller->uninstall(Array, 1) (Line: 91) Drupal\Core\ProxyClass\Extension\ModuleInstaller->uninstall(Array) (Line: 174) Drupal\system\Form\ModulesUninstallConfirmForm->submitForm(Array, Object) call_user_func_array(Array, Array) (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 597) Drupal\Core\Form\FormBuilder->processForm('system_modules_uninstall_confirm_form', Array, Object) (Line: 325) 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: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 182) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) 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: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- First commit to issue fork.
-
joelpittet β
committed 9d9afb69 on 8.x-1.x authored by
rsych β
Issue #3257557: "The default OG membership type cannot be deleted" on...
-
joelpittet β
committed 9d9afb69 on 8.x-1.x authored by
rsych β
- π¨π¦Canada joelpittet Vancouver
Thanks I tweaked and merged this quick fix, seems reasonable assumption
Automatically closed - issue fixed for 2 weeks with no activity.