Closed (fixed)
Project:
Blog
Version:
3.0.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 May 2022 at 12:38 UTC
Updated:
27 Jul 2022 at 19:24 UTC
Jump to comment: Most recent
Implement \Drupal\Core\Extension\ModuleUninstallValidatorInterface, check blog entities.
Do not allow the module to be uninstall while there is related, blog post content.
Comments
Comment #2
nevergonehttps://www.webomelette.com/lazy-loaded-services-drupal-8
Comment #3
nevergoneComment #4
nevergoneComment #5
nevergoneComment #6
nevergoneRelated commit: https://git.drupalcode.org/project/blog/-/commit/c551dea29bda7e48691c847...
Comment #7
nevergoneComment #8
paintingguy commentedI still cannot reinstall to properly uninstall the blog module.
Unable to install Blog, core.entity_form_display.node.blog_post.default, core.entity_view_display.node.blog_post.default, core.entity_view_display.node.blog_post.teaser, node.type.blog_post already exist in active configuration.
Comment #9
nevergone@paintingguy: copy the newest blog module and run database update.
Related issue: #2780203: Uninstalling module is not completely uninstalling
Comment #10
paintingguy commented@nevergone
Yes, I did this before I posted here. Tried it again and it I get this same message:
Unable to install Blog, core.entity_form_display.node.blog_post.default, core.entity_view_display.node.blog_post.default, core.entity_view_display.node.blog_post.teaser, node.type.blog_post already exist in active configuration.
Comment #11
nevergone@paintingguy which version?
Comment #12
paintingguy commented@nevergone
blog 3.10
drupal 9.4.2
Comment #13
nevergone@paintingguy Please test this comment: https://www.drupal.org/project/blog/issues/2780203#comment-14605304