Bootstrap Paragraphs accordion paragraph type does not install correctly

Created on 20 June 2024, 6 months ago
Updated 15 September 2024, 3 months ago

Bootstrap Paragraphs accordion paragraph type does not install correctly.

Problem/Motivation

When installing Bootstrap Paragraphs module, there are no active fields when managing form display or managing display, see bp-accordion-manage-display.png β†’ screenshot.

There no error in log messages.

Steps to reproduce

  • Install Bootstrap Paragraphs module
  • Go to /admin/structure/paragraphs_type/bp_accordion/form-display or /admin/structure/paragraphs_type/bp_accordion/display
  • See both 'No field is displayed'

Install Bootstrap Paragraphs module

After some research I found that there are no entity form display and not entity view display for bp_accordion, see entity-form-display-conf-export.png β†’ and entity-view-display-conf-export.png β†’ screenshots.

And when I try to import single configuration core.entity_form_display.paragraph.bp_accordion.default.yml after core.entity_view_display.paragraph.bp_accordion.default.yml I get the following error:

Configuration core.entity_view_display.paragraph.bp_accordion.default depends on the field.field.paragraph.bp_always_show configuration that will not exist after import.

Proposed resolution

After replace config dependency field.field.paragraph.bp_always_show by field.field.paragraph.bp_accordion.bp_always_show into core.entity_form_display.paragraph.bp_accordion.default.yml and core.entity_view_display.paragraph.bp_accordion.default.yml, then installing Bootstrap Paragraphs module on a fresh Drupal installation, all fields are active when managing form display or managing display.

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡«πŸ‡·France dpiet

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