ThirdPartySettings not removed when module is uninstalled

Created on 11 October 2023, about 1 year ago
Updated 24 October 2023, about 1 year ago

Problem/Motivation

After untinstalling the module, if we export the configuration of our project via drush or via single export we still see traces of the third_party settings set by the module. They should be cleaned when we uninstall the module via hook_uninstall().

Steps to reproduce

  1. Install the module as usual
  2. Make usage of the module as usual.
  3. Export the configuration via drush cex or other method.
  4. Uninstall the module
  5. Export again the configuration via drush cex or other method.
  6. As a result, the third_party_settings used by the module is still present on the configuration and it is not cleaned.

Proposed resolution

We should implements hook_uninstall() to clean this config.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇪🇸Spain jlbellido

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024