fix: #3637876 Remove the role and the dashboard of a role module on uninstall

Issue: https://www.drupal.org/i/3637876

The role and the dashboard of each of the six role modules depend on their module (an enforced dependency in config/install, and an update function for installed sites), so Drupal removes them when the module is uninstalled, and hook_uninstall() turns the role off in cucumber_user_roles.settings. On a Cucumber 12.0.x build, drush en, drush pmu, drush en of the six role modules works with no error in the log, on a fresh install and on a site installed before the fix after drush updb.

AI-Generated: Yes

Checkpoints

  • File an issue about this project
  • Addition/Change/Update/Fix to this project
  • Testing to ensure no regression
  • Automated unit/functional testing coverage
  • Developer Documentation support on feature change/addition
  • User Guide Documentation support on feature change/addition
  • UX/UI designer responsibilities
  • Accessibility and Readability
  • Reviewed by a human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Update Release Notes
  • Release

Merge request reports

Loading
Loading