Unable to install mie_demo_base after uninstall the module

Created on 1 November 2022, about 2 years ago
Updated 16 January 2024, 10 months ago

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.

📌 Task
Status

Needs review

Version

3.0

Component

User interface

Created by

🇺🇦Ukraine Serhii Morozov

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Open on Drupal.org →
    Core: 10.0.7 + Environment: PHP 8.1 & MySQL 8
    last update over 1 year ago
    Not currently mergeable.
  • First commit to issue fork.
  • Issue was unassigned.
  • Status changed to Needs review 11 months ago
  • 🇺🇦Ukraine rollins

    I 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.

  • First commit to issue fork.
  • 🇮🇳India Sandeep_k New Delhi

    @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.

Production build 0.71.5 2024