[regression] Configuration no longer removed upon uninstallation

Created on 22 January 2025, 2 months ago

Problem/Motivation

When I uninstall easy_breadcrumb I expect to be able to reinstall it without having to delete the configuration it introduces manually.

You can actually see where this was removed inadvertently in #3161765: Missing keys in config schema β†’ by Vacho while resolving patching conflicts https://www.drupal.org/project/easy_breadcrumb/issues/3161765#comment-13... β†’

Steps to reproduce

Install easy breadcrumb module.
Uninstall same module
Look for easy_breadcrumb.settings in your config
See it exists
Install easy breadcrumb module
See error.

Proposed resolution

Add necessary configuration from: https://git.drupalcode.org/project/easy_breadcrumb/-/commit/f4c3227a0257...

dependencies:
  module:
    - easy_breadcrumb
  enforced:
    module:
      - easy_breadcrumb

Remaining tasks

Add config dependency keys to installed config files
Add hook_post_update implementation to update existing sites configuration.
Add PHPUnit test to install, uninstall, and install the easy breadcrumb module again.

User interface changes

Users can now uninstall and reinstall easy bread crumb module from the UI, which would be previously impossible without special modules to delete config via the UI.

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024