Can't re-enable Bootstrap Paragraphs Webform submodule after uninstallation

Created on 14 September 2022, over 2 years ago
Updated 16 September 2024, 7 months ago

Problem/Motivation

After uninstalling Bootstrap Paragraphs Webform, it cannot be re-enabled. Instead, the following error is displayed.

Error message
Unable to install Bootstrap Paragraphs Webform, core.entity_form_display.paragraph.bp_webform.default, core.entity_view_display.paragraph.bp_webform.default, field.field.paragraph.bp_webform.bp_background, field.field.paragraph.bp_webform.bp_webform, field.field.paragraph.bp_webform.bp_width, field.storage.paragraph.bp_webform, paragraphs.paragraphs_type.bp_webform already exist in active configuration.

Steps to reproduce

  1. Enable Bootstrap Paragraphs module
  2. Enable Bootstrap Paragraphs Webform submodule
  3. Uninstall Bootstrap Paragraphs Webform submodule
  4. Uninstall Bootstrap Paragraphs module
  5. Re-enable Bootstrap Paragraphs module
  6. Re-enable Bootstrap Paragraphs Webform submodule

Proposed resolution

A workaround seems to be as in related issues:

  1. temporarily remove (or rename) modules/contrib/bootstrap_paragraphs/modules/bp_webform/config
  2. re-enable the module
  3. restore modules/contrib/bootstrap_paragraphs/modules/bp_webform/config
πŸ› Bug report
Status

Closed: works as designed

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom robbm

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

Comments & Activities

Not all content is available!

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

  • πŸ‡¨πŸ‡¦Canada leducdubleuet Chicoutimi QC

    I also noticed that the "Bootstrap Paragraphs Webform" module does not delete its paragraph type "bp_webform" when uninstalling. You have to manually delete the "bp_webform" paragraph type before being able to install the "Bootstrap Paragraphs Webform" module again.

  • Status changed to Fixed 7 months ago
  • πŸ‡ΊπŸ‡ΈUnited States thejimbirch Cape Cod, Massachusetts

    Yes. That is by design. As @leducdubleuet said, manually delete the "bp_webform" paragraph type.

  • Status changed to Closed: works as designed 7 months ago
  • πŸ‡¨πŸ‡¦Canada leducdubleuet Chicoutimi QC
Production build 0.71.5 2024