Problem/Motivation
After uninstalling the module, reinstalling it fails with a PreExistingConfigException because the user.role.trial configuration remains in active configuration.
Steps to reproduce
- Install the module:
drush en -y trial_role
- Uninstall the module:
drush pmu -y trial_role
- Install the module again:
drush en -y trial_role
Proposed resolution
Ensure that the user.role.trial configuration is properly cleaned up during module uninstall, or otherwise prevent the configuration conflict during reinstall.
Issue fork trial_role-3604167
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 #3
dkmishra commentedComment #4
eiriksmThanks 🙏