Problem/Motivation
After unistal mie_demo_base module all demo information still stored in data base.
Steps to reproduce
1) Uninstall mie_demo_base module
2) Install mie_demo_base module
3) Got error:
Unable to install Menu Item Extras Demo Base ... already exist in active configuration.
Proposed resolution
Create Uninstall Validator and delete Demo data.
Remaining tasks
1) Create Uninstall validator.
2) Create controller for delete data.
3) Create functions for delete data.
Issue fork menu_item_extras-3318500
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
serhii morozov commentedComment #5
rollins commentedComment #6
rollins commentedI took this issue and was able to reproduce it locally.
After applying changes from Serhii Morozov I was still not able to install mie_demo_base after uninstalling the module.
Also, I saw that the maintainer of the module changed the version of the module for this issue.
So I added changes to fix the issue.
Now we can install mie_demo_base after uninstalling the module, and changes can be merged to the last module version.
Comment #8
sandeep_k commented@taraskorpach I've tested shared MR- MR !20 mergeable on the Drupal- 10.2 version, I was able to reproduce the issue & the patch was also applied successfully but the error was not fixed after applying the patch. Error attached.